View Full Version : Send an Email Directly

07-24-2007, 04:50 AM

I am wanting to know how to send an email directly from my website. I want it to send an email to a user through a socket connection without me needing my own SMTP server or me using a 3rd party SMTP server. It should work something like http://www.mustap.com/phpzone_post_95_sending-email-in-php-the-hac but it should be something I can put into a production function.

07-24-2007, 02:27 PM
cant you just ensure port 25 (needed for sending email using SMTP protocol) or port 110 used to receive email using POP protocol) are not blocked by your firewall and in that way possibly use the mail(); function

07-25-2007, 12:07 AM
Thanks for that timgolding, thats what I was after.

07-25-2007, 10:30 AM
neh problem