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/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to