如何从SMTP发送MessageId发送电子邮件。 [英] How to get MessageId from SMTP send Email.
问题描述
我们正在使用asp.net System.Net.Mail.MailMessage发送SMTP电子邮件。电子邮件已成功发送。
我们希望跟踪SMTP上的电子邮件。如果邮件成功传递到SMTP,则方法EmailMessage.Send()不会返回任何内容。有没有办法从SMTP获取MessageID?
我们的SMTP服务器添加了 每条消息的唯一MEssage ID。我们想要从我们的应用程序和SMTP生成的日志中发送链接黑白电子邮件之王。
Abhay Lakkad
您好Abhay
检查以下示例 可能对你有所帮助
http://stackoverflow.com/questions/6874964/why-emails-sent-by-net-smtpclient-are-missing-message-id
http://msdn.microsoft.com /en-us/library/ms526206(v=exchg.10).aspx
问候
We are sending SMTP Emails using asp.net System.Net.Mail.MailMessage. The emails are going successfully.
We want to track the email message on SMTP. The method EmailMessage.Send() do not return anything if message successfully delivered to SMTP. Is there any way to get MessageID from SMTP?
our SMTP server adds a unique MEssage Id for each message. We want some king of link b/w email sent from our application and SMTP generated log.
Abhay Lakkad
Hi Abhay
Check below Sample may be help to you
http://stackoverflow.com/questions/6874964/why-emails-sent-by-net-smtpclient-are-missing-message-id
http://msdn.microsoft.com/en-us/library/ms526206(v=exchg.10).aspx
Regards
这篇关于如何从SMTP发送MessageId发送电子邮件。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!