Menu

#85 LF found

svn
open
nobody
None
1
2014-05-30
2012-10-22
Anonymous
No

When I send mail with OpenUpload to french provider 'FREE' mail don't receive because
I have in smtp server log:

Diagnostic-Code: smtp;550 mail dropped, bare LF found

Help !

Discussion

  • Alessandro Briosi

    Well, this is a new one :)
    but mail standard forbids the use of only LF.

    Imho simply doing a unix2dos on the templates/default/plugins/email/notify.tpl should fix this. Probably having the sendmail [1] function do this would be best, but in svn I use swiftmailer which should do this already.

    [1] http://www.php.net/manual/fr/function.mail.php#94428

     
  • Anonymous

    Anonymous - 2014-05-30

    It does not work.
    You have to change in file general.in.php after line 271

    $msg = preg_replace("#(?<!\r)\n#si", "\r\n", $msg);
    $header = preg_replace("#(?<!\r)\n#si", "\r\n", $header);

    juste before the return of the foreach fonction

     

Anonymous
Anonymous

Add attachments
Cancel





Auth0 Logo