I have this same problem with ZF 1.6.1. My mail server is Exchange and long
subjects work fine using PHP's mail() function, but not using Zend_Mail. It
seems that the problem lays in Zend_Mail-_encodeHeader() method.
This is the code used to replicate the issue:
// Works
$subject = '¿Tu sueldo
I just checked further into the framework and saw that Zend_Mail sends the
header to Zend_Mime, then Zend_Mime has a 74 character limit on line length.
That's ok because RFC 2822 recommends a maximum header length of 78
characters, but I think that the line should be cut to comply with that,
Hi all,
I send a mail via $mail = new Zend_Mail;
I need a long subject.
The problem is, that Outlook won't correctly paste the linebreaks together
again. So in a long subject stands an = at the position, where the
linebreak was.
Example:
Here I write an entry in the Zend Framework Community
-- froesi [EMAIL PROTECTED] wrote
(on Monday, 01 October 2007, 06:27 AM -0700):
I send a mail via $mail = new Zend_Mail;
I need a long subject.
The problem is, that Outlook won't correctly paste the linebreaks together
again. So in a long subject stands an = at the position, where the
Hi Froesi,
Maybe you're not using the latest version?
Best regards,
Darby
froesi wrote:
Hi all,
I send a mail via $mail = new Zend_Mail;
I need a long subject.
The problem is, that Outlook won't correctly paste the linebreaks together
again. So in a long subject stands an = at the
I updated to newest ZF version.
Still the same problem. I am not using SMTP.
cheers
froesi
Matthew Weier O'Phinney-3 wrote:
-- froesi [EMAIL PROTECTED] wrote
(on Monday, 01 October 2007, 06:27 AM -0700):
I send a mail via $mail = new Zend_Mail;
I need a long subject.
The problem is,
-- froesi [EMAIL PROTECTED] wrote
(on Monday, 01 October 2007, 08:03 AM -0700):
I updated to newest ZF version.
Still the same problem. I am not using SMTP.
Try using it via the SMTP transport, and see if that works.
Matthew Weier O'Phinney-3 wrote:
-- froesi [EMAIL PROTECTED] wrote
-- froesi [EMAIL PROTECTED] wrote
(on Monday, 01 October 2007, 09:05 AM -0700):
Maybe thats the point and would work with smtp, but I don't want to send the
mails via the SMTP and can't try at this moment, sorry.
How else are you doing it, then? If you're using Exchange, it's either
on another
froesi wrote:
Hi all,
I send a mail via $mail = new Zend_Mail;
I need a long subject.
The problem is, that Outlook won't correctly paste the linebreaks together
again. So in a long subject stands an = at the position, where the
linebreak was.
Example:
Here I write an entry in the
Rob Allen:
It was happening on long urls. Given I was also having the BCC
appearing in the headers issue, I swapped out Zend_Mail and used
mail()
instead with no problems. It's yet another thing on my list of
things to
investigate more fully when I get some time!
I've worked on the header
10 matches
Mail list logo