Rich Pedley
09-22-2005, 09:14 PM
I'm having trouble getting the addaddress portion to work, everything else is fine and dandy:
$mail->AddAddress($srow['email'],$srow['name']);
The email address is correctly sent but not for lack of trying I cannot get the name portion working. So the emails being sent feature the header:
To: xxx@invalid.invalid as opposed toTo: Me <xxx@invalid.invalid>
(email addresses obviously munged to protect the not so innocents)
Does this work for you? or am I not alone in this? and does anyone have a solution.
$mail->AddAddress($srow['email'],$srow['name']);
The email address is correctly sent but not for lack of trying I cannot get the name portion working. So the emails being sent feature the header:
To: xxx@invalid.invalid as opposed toTo: Me <xxx@invalid.invalid>
(email addresses obviously munged to protect the not so innocents)
Does this work for you? or am I not alone in this? and does anyone have a solution.