Seems like it would be better to change the default value to CRLF,
it's also used in header section where CRLF is mandatory too.

>From rfc821:
HELO <SP> <domain> <CRLF>
MAIL <SP> FROM:<reverse-path> <CRLF>
RCPT <SP> TO:<forward-path> <CRLF>
DATA <CRLF>

On Nov 30, 12:33 pm, Gorka <[EMAIL PROTECTED]> wrote:
> Changed $this->_newLine from "\n" to "\r\n" and mail started to work.
> The CRLF thing applies to the whole email, and not just the ending
> "CRLF.CRLF"... I should have slept a bit more before reading the
> dmtplf doc!
>
> Anyway, if it is mandatory to end lines with CRLF and not just CR,
> shouldn't _newLine have a default value of CRLF?
>
> On 30 nov, 12:11, Gorka <[EMAIL PROTECTED]> wrote:
>
> > My fault... I was starting an SMTP connection on localhost, which is
> > of course whitelisted. Solved.
>
> > Still mail wasn't delivered, so I updated the email component to the
> > latest nightly build and now I'm getting a "451 
> > Seehttp://pobox.com/~djb/docs/smtplf.html"; SMTP error. Before the update
> > the log file for qmail was showing the same error, but now Cake knows
> > it was rejected. Far as I can tell, though, the SMTP send code in
> > email component looks ok to me, ending the connection with a "LF.LF":
>
> > if (!$this->__sendData($this->__header . "\r\n" . $this->__message .
> > "\r\n\r\n\r\n.\r\n")) {
>
> > On 28 nov, 18:34, atomic <[EMAIL PROTECTED]> wrote:
>
> > > Just a quick guess:
> > > You are sending from a whitelistened ip and don't need to auth on your
> > > test system / on your testsystem SMTP Auth is disabled ?
>
> > > On Nov 28, 12:47 pm, Gorka <[EMAIL PROTECTED]> wrote:
>
> > > > In fact, on the test server I get a "503 You are already
> > > > authenticated" error message.
>
> > > > On 27 nov, 16:17, atomic <[EMAIL PROTECTED]> wrote:
>
> > > > > Afaik this fix is already comitted in the latest nightly builds.
> > > > > What do you mean with "they still don't seem to arrive".
>
> > > > > Is mail delivered correctly to your MTA but does not reach recipient ?
> > > > > Do you have access to MTA logs ?
>
> > > > > On Nov 26, 7:04 pm, Gorka <[EMAIL PROTECTED]> wrote:
>
> > > > > > I had this same issue, the server was responding "235 GO AHEAD" ans
> > > > > > not "OKauthenticated". This fixed the error on send, though emails
> > > > > > still don't seem to arrive.
>
> > > > > > On 29 oct, 21:35, atomic <[EMAIL PROTECTED]> wrote:
>
> > > > > > > I had some problems sending mail using smtp auth.
> > > > > > > MTA (postfix) always told me "lost connection after auth"
>
> > > > > > > Theemailcomponent is testing for "OKAuthenticated"
> > > > > > > which seems not RFC compliant to me, so i changend testing
> > > > > > > for return value into "235".
>
> > > > > > >email.php line 744:
> > > > > > > if (stristr($response, '235') === false)
>
> > > > > > > This should match most common used MTA.
>
> > > > > > > Regards,
> > > > > > > Andreas- Ocultar texto de la cita -
>
> > > > > - Mostrar texto de la cita -- Ocultar texto de la cita -
>
> > > - Mostrar texto de la cita -- Ocultar texto de la cita -
>
> > - Mostrar texto de la cita -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to