开发者

ASP.NET - sending mail form different domain than SMTP credentials?

When sending email using MailClient, is it possible to have the .From property be for an email of a different domain than the credentials passed to the SMTP server? E.g., my credentials passed in are @mydomain.com, but the .From email is @anotherdomain.com. Or, must they be the same? Than开发者_Python百科ks.


You can specify anything you want as the From address! However it might make it more likely that your message winds up in spam or blocked by a spam firewall.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜