开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜