I'm sending myself a text message using PHP mail() and it says FRM: username@myftpaddress.com. I'm using number@txt.att.net to send the text message. How can I change that?
在邮件中更改它的来源()
- 写回答
- 好问题 0 提建议
- 关注问题
- 邀请回答
-
1条回答 默认 最新
douwei7471 2010-06-04 22:46关注You can add additional headers to the mail function, including
from:$headers = "From: your@email.com "; mail($to, $subject, $body, $headers);本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报