发送"代表"电子邮件 [英] Sending "on behalf of" emails

查看:177
本文介绍了发送"代表"电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经收到了很多电子邮件代表的。例如,2007-06-18插件从addThis.com代表myfriend@gmail.com的发送电子邮件。

I have been received a lot of emails "on behalf on". For example, the AddThis plugin sending a email from "addThis.com on behalf of myfriend@gmail.com".

我怎么做这在C#/ ASP.NET?另外,做这项工作,如果我们使用Gmail作为我们的SMTP,尽管品牌对我们公司的域名?

How do I do this in C#/ASP.NET? Also, does this work if we use gmail for our SMTP, albeit branded to our company domain?

如果有这个任何问题我也想知道不专业或遭到举报的客户端PC上的垃圾邮件?换句话说,有你们实际执行这个...

I'm also wondering if there are any concerns about this being unprofessional or getting flagged as spam on the client PC? In other words, have you guys actually implemented this...

推荐答案

您已经在的 MAILMESSAGE类:

You have three properties in the MailMessage class:



  • 发件人

  • 的ReplyTo (或.NET 4中的 ReplyToList

  • From
  • Sender
  • ReplyTo (or in .NET 4 the ReplyToList)

如果您设置了发件人不同于在,它应该表现为你想要它。

If you set the Sender different than the From, it should behave as you want it.

请参见<一个href=\"http://stackoverflow.com/questions/51793/how-can-you-set-the-smtp-envelope-mail-from-using-system-net-mail\">this SO发布其他方面。

这篇关于发送&QUOT;代表&QUOT;电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆