[fw-general] RE: Bug in Zend_Mail?

2007-07-11 Thread mike55



Daniel Freudenberger wrote:
> 
> Okay finally I think a solution should be very simple. Changing the line
> ending from lf to crlf in Zend_Mime solves the problem. I guess the php
> windows mail() function expects the content to use crlf as line ending?!
> 

what exactly do you mean with "Changing the line ending from lf to crlf in
Zend_Mime"? changing it in the zend library itself? all instances of "lf" in
Zend_Mime?

i have similar problems which constantly lead to:

Fatal error: Uncaught exception 'Zend_Mail_Protocol_Exception' with message
'451 See http://pobox.com/~djb/docs/smtplf.html. ' in
D:\adat\awebsites\ev-manager\mvc-site\lib\Zend\Mail\Protocol\Abstract.php:351

the solution for setBodyText was, to change from quoted printable to
ENCODING_7BIT.
but as soon as i attach a picture with base64 or any other encoding, i get
the error.

 thanx
  mike
-- 
View this message in context: 
http://www.nabble.com/Bug-in-Zend_Mail--tf4004989s16154.html#a11544339
Sent from the Zend Framework mailing list archive at Nabble.com.



[fw-general] RE: Bug in Zend_Mail?

2007-07-01 Thread Jack Sleight

Oh yeah, sorry. Well I would imagine the 74 character limit ha something to
do with Zend_Mime's (used for mail mime encoding) line length limit, which
is 74 characters. Zend_Mime will try to wrap any line longer than 74
characters.

I've tested this on mine (5.2.0, Win, CGI) and unfortunately I cant
reproduce it.


Daniel Freudenberger wrote:
> 
> As I mentioned before, everything seems to be fine as long as the body is
> not encoded by Zend_Mime::encodeQuotedPrintable.
> 
> Best regards,
> Daniel
>  
> -Original Message-
> From: Jack Sleight [mailto:[EMAIL PROTECTED] 
> Sent: Sunday, July 01, 2007 12:55 AM
> To: fw-general@lists.zend.com
> Subject: Re: [fw-general] Bug in Zend_Mail?
> 
> 
> If you're on Windows then you wont have sendmail at all, make sure you
> have
> correct SMTP server settings in your php.ini, or use the Zend_Mail SMTP
> transport.
> 
> http://framework.zend.com/manual/en/zend.mail.sending.html
> 
> 
> Matthew Weier O'Phinney-3 wrote:
>> 
>> -- Daniel Freudenberger <[EMAIL PROTECTED]> wrote
>> (on Saturday, 30 June 2007, 04:38 PM +0200):
>>> can someone confirm, that the following code is not working properly? I
>>> get a
>>> Zend_Mail_Transport_Exception with the message „Unable to send mail“.
>>> 
>>> I’m running php 5.2.3 (win / fcgi) and zf 1.0rc3
>>> 
>>> Everything seems to work fine as long as the body does not exceed 74
>>> characters
>> 
>> It's an issue with whatever sendmail utility you use on your server.
>> That particular exception occurs if mail() returns a boolean false
>> (indicating the mail was not sent).
>> 
>> -- 
>> Matthew Weier O'Phinney
>> PHP Developer| [EMAIL PROTECTED]
>> Zend - The PHP Company   | http://www.zend.com/
>> 
>> 
> 
> -- 
> View this message in context:
> http://www.nabble.com/Bug-in-Zend_Mail--tf4004989s16154.html#a11377769
> Sent from the Zend Framework mailing list archive at Nabble.com.
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Bug-in-Zend_Mail--tf4004989s16154.html#a11380811
Sent from the Zend Framework mailing list archive at Nabble.com.