Re: two small issues with php mail

From: Date: Tue, 20 Nov 2007 02:39:19 +0000
Subject: Re: two small issues with php mail
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-264834@lists.php.net to get a copy of this message
Brad wrote:
For the purposes of this task, mailer is not an option. This is a class assignment to put us into the weeds. I am neck deep googling the heck out of this and finding snippets of un-related code which do not fit.
Just because you can't use php-mailer in your project doesn't mean you can't use it as a reference. Grab phpmailer and look at the process it follows to do smtp sending. smtp authentication is a pain at the best of times but trying to do it the way you are now will just drive you mad (been there, done that). Looking at a working code sample will make things a lot clearer in your head rather than random code from 100 different locations. http://www.cosmonroe.org/~devin/postfix/smtp-auth.txt under "SMTP Authentication" will give you an idea of what you need to do but there is a ton more error checking and validation you need to do along the way. -- Postgresql & php tutorials http://www.designmagick.com/

« previous php.general (#264834) next »