Roundcube Community Forum

 

Define Return-path with php mail()

Started by LoJo, July 12, 2014, 11:02:35 AM

Previous topic - Next topic

LoJo

Hello,

I use php mail() function to send emails from RC because of restrictions on SMTP ( OVH mutu).
When a RC user send an email to a false email address, he isn't notified because Return path seems not defined.
Is it possible to define returnpath to the sender in mail() function ?
Whitch file can I modify ?

Thanks.

LoJo

I soluced my problem by adding in program/steps/mail/sendmail.inc on line 139 :
$headers['Return-Path']   = $from;