|
Prev: Text_CAPTCHA_Numeral and setting a max value
Next: [ANNOUNCEMENT] Net_UserAgent_Mobile-1.0.0RC1 (beta) Released.
From: Christian Weiske on 9 May 2008 03:58 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(a)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 |