FW: [PHP] two small issues with php mail

From: Date: Tue, 20 Nov 2007 02:48:46 +0000
Subject: FW: [PHP] two small issues with php mail
Groups: php.general 
Request: Send a blank email to php-general+get-264835@lists.php.net to get a copy of this message
-----Original Message----- From: Brad [mailto:brads@ftnco.com] Sent: Monday, November 19, 2007 9:48 PM To: 'Chris' Subject: RE: [PHP] two small issues with php mail Sir, I am trying... It just is not working... I am trying to implement the auth info, I go from parse error to no response from the server. I am reading your material and batting ZERO! I will keep on reading and somehow figure it out. You have been kind. I have the admin of this list now being a jerk! Brad -----Original Message----- From: Chris [mailto:dmagick@gmail.com] Sent: Monday, November 19, 2007 9:39 PM To: Brad Cc: php-general@lists.php.net Subject: Re: [PHP] two small issues with php mail 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/ No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.0/1137 - Release Date: 11/18/2007 5:15 PM No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.0/1137 - Release Date: 11/18/2007 5:15 PM No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.0/1137 - Release Date: 11/18/2007 5:15 PM

« previous php.general (#264835) next »