[Ltb-users] Problem for sending email

Clément OUDOT clem.oudot at gmail.com
Thu Aug 25 18:30:34 CEST 2016


Thanks for the feedback. Issue has been fixed:
https://github.com/ltb-project/self-service-password/issues/5

Clément.

2016-07-25 9:55 GMT+02:00 Mike Desy <thenoob06 at gmail.com>:
> Hello all,
>
> Regarding to this post http://tools.lsc-project.org/issues/836, I have the
> same problem to send email.
> I have a serveur On linux Redhat and it uses postfix/sendmail.
> All the emails are rejected by the mail serveur because it was not correctly
> formated..
>
> To resolve the issue I change the ./lib/functions.inc.php
>
> I modify :
> $result = mail($mail, $subject, $body, $header."From:
> $mail_from\r\n","-f$mail_from");
> by
> $result = mail($mail, $subject, $body, $header."From: $mail_from". PHP_EOL);
>
>
> And now all the emails are correctly formated and we receive the password
> resets mails :)
>
> Best Regards
> The Noob
>
> _______________________________________________
> ltb-users mailing list
> ltb-users at lists.ltb-project.org
> http://lists.ltb-project.org/listinfo/ltb-users


More information about the ltb-users mailing list