Strange gargled email address
Posted: Wed Jun 06, 2007 9:11 am
Hi there (again).
I've been doing some experiments with swiftmailer and wampserver (an apache+php+mysql package for window) and i've realized my own
little "frontend" to switfmailer.
My frontend can process both a list of address from a form and a list of address loaded from a text file.
My problem is that sometimes the destination email is sent like this:
To: =?iso-8859-1?Q?user@domain.com?=
i'm using a code like this:
If i add an email "manually" with the addto function, i don't get that strange error.
I must also specify that the email is correctly parsed by gmail, outlook express and other email clients, but it's probably rejected by Lotus Notes (which is used by many users of my mailing).
Any idea ?
I've been doing some experiments with swiftmailer and wampserver (an apache+php+mysql package for window) and i've realized my own
little "frontend" to switfmailer.
My frontend can process both a list of address from a form and a list of address loaded from a text file.
My problem is that sometimes the destination email is sent like this:
To: =?iso-8859-1?Q?user@domain.com?=
i'm using a code like this:
Code: Select all
$recipients =& new Swift_RecipientList();
foreach ($addresses as $value) {
$recipients->addTo($value); //or we can just add the address
//echo "-".$value."<br>";
}I must also specify that the email is correctly parsed by gmail, outlook express and other email clients, but it's probably rejected by Lotus Notes (which is used by many users of my mailing).
Any idea ?