Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
很简单,通过 TCP/IP 连接到 127.0.0.1 端口 25,然后使用 SMTP 提交邮件。这样你就可以将发件人地址设置为你想要的任何地址。目前,您正在通过 sendmail 命令提交邮件,该命令正在从用户处获取发件人地址。
附注发送邮件!= 后缀
Easy, connect via TCP/IP to 127.0.0.1 port 25, and submit the mail using SMTP. that way you can set the from address to whatever you want. Currently you are submitting mail via the sendmail command, which is picking up the from address from user.
ps. sendmail != postfix
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
暂无简介
文章 0 评论 0
接受
发布评论
评论(1)
很简单,通过 TCP/IP 连接到 127.0.0.1 端口 25,然后使用 SMTP 提交邮件。这样你就可以将发件人地址设置为你想要的任何地址。目前,您正在通过 sendmail 命令提交邮件,该命令正在从用户处获取发件人地址。
附注发送邮件!= 后缀
Easy, connect via TCP/IP to 127.0.0.1 port 25, and submit the mail using SMTP. that way you can set the from address to whatever you want. Currently you are submitting mail via the sendmail command, which is picking up the from address from user.
ps. sendmail != postfix