Mail() doesn't set From header with postfix
I am trying to send email w开发者_运维知识库ith mail()
it works but even if I set From: email <name>
it is sent with the original email of my server.
Is there anyway to solve this? I have debian with postfix
Use -f mail@mail.com
to the last param of mail()
and it will work.
精彩评论