Hi, Evgeniy! Thank you for taking the time!
On 10/07/2014 09:50 PM, Evgeniy Berdnikov wrote: > On Mon, Oct 06, 2014 at 02:08:42PM +0200, Bata Degen wrote: >> I am sending mail from a PHP script. I have checked that it's really >> sent by Exim. The From-Header I add in the script is, I guess, >> overwritten by Exim. The scripts looks like this (excerpt). >> >> $headers = "From: Display Name <[email protected]>\r\n"; >> $headers = "Content-Type: text/plain; charset=\"utf-8\"" . "\r\n"; > > You overwrite your "From:" header field by the second PHP assignment. > The $headers variable must be appended, not overwritten. > And thank you for being very attentive! I checked the script. There is the dot before the equal sign (.=). Somehow it didn't make into the e-mail. So the script should be okay. Thanks! Bata -- ## List details at https://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
