Re: Mail Issue

From: Date: Fri, 09 May 2008 07:58:03 +0000
Subject: Re: Mail Issue
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-28903@lists.php.net to get a copy of this message
Hello Paul, > I thank you for taking the time to read my post. I just have a simple > question in regards to the code below. The code works perfectly, I > am using the NET STMP class, however I need to have contact name > within the FROM address (Basically, I want my name to appear in the > from address..). I've tried 'test <test@test.ca>', but nothing seems > to work. > /* Send the 'MAIL FROM:' SMTP command. */ > if (PEAR::isError($smtp->mailFrom($from))) { > die("Unable to set sender to <$from>\n"); > } In SMTP, the email address only is given. No name+mail combination as it might be in the email header. -- Regards/Mit freundlichen Grüßen Christian Weiske

Attachment: [application/pgp-signature] signature.asc
« previous php.pear.general (#28903) next »