Hej Ryan Schmidt 

Den Thu, 18 Mar 2010 08:08:51 -0500 sendte du en mail til mig, angÄende
Re: [fw-general] Problems with Zend_Mail

>>> =0ATak for tilmeldingen til Kunstmesse 2010=0A=0ADenne messe finder sted=
>>> L=F8rdag den 25. september 2010 - s=F8ndag den 26. september 2010=0A=0A=
>>> Du har indtastet f=F8lgende data:=0A=0A  Tilmelding nr.: 125=0A        =

<cut>
 
>> What am I doing wrong here? In my own mailprogram (Forte Agent) it is
>> showing as a nicely formatted text-email. Viewing it from my gmail
>> account it is also shown as expected.
>
>I haven't used Zend_Mail, but I have done some newsletter emailing so I have 
>some experience with common mail sending errors. Mail standards say line 
>endings in email must be the DOS CRLF pair, on all platforms. In your email I 
>see a lot of "=0A" which is the encoding for the UNIX LF line ending. Is it 
>possible your code, or Zend Framework code, is using "\n" or PHP_EOL as a line 
>separator? If so, that would be an error; the line separator must be "\r\n". 
>Some mail servers and mail clients are pickier about this than others, which 
>would explain why only some of your users see this problem.

This might very well be the problem ....
The content of the email is build using a Zend View, and all files from
my editor are saved with unix-lineendings, ie. LR.

I will try your suggestion, using CRLF as line-endings and test with
that. It's just a bit tricky, since none of my computers have Outlook
Express or the possibility to get it.

For now, I have switched to PEARs mailclass instead. This worked
perfectly, but I would prefer to use Zend-code where possible. 
-- 
Mads Lie Jensen - [email protected] - ICQ #25478403
Gartneriet - http://www.gartneriet.dk/

Reply via email to