如何通过smtp阅读邮件 [英] How to read a mail via smtp

查看:226
本文介绍了如何通过smtp阅读邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是asp .net的新手我正在开发一个邮件提供商网站,我想要阅读邮件状态我发送的邮件是否已阅读所以请帮助我同样....评论链接为此或给出一个代码如何读取状态...提前感谢:)

解决方案

这不是一个保证状态,因为它可以被禁用接收邮件的人。有关详细信息,请参阅 https://www.google.com/search?q=read+receipt+smtp [ ^ ]。


如果您正在使用System.Net.Mail名称空间,您可以在电子邮件中添加标题以请求阅读回执:



 message.Headers.Add(Disposition-Notification-To,<   address@yourdomain.com  > ); 


按照我之前的回答 - 跟踪电子邮件 - 在阅读电子邮件时获取回复 [ ^ ]。

I am a freshers in asp .net i am developing a mail provider web site for that i want to read a mail status whether the mails i sent are read or not so please help me for same.... comment a link for that or give a code how to read a status... thanks in advance :)

解决方案

It is not a guaranteed status, as it can be disabled by the person receiving the mail. For more information see https://www.google.com/search?q=read+receipt+smtp[^].


If you're using the System.Net.Mail namespace you can add a header to the email to request a read receipt:

message.Headers.Add("Disposition-Notification-To", "<address@yourdomain.com>");


Follow my previous answer- Track Email - Get Response when Email is Read[^].


这篇关于如何通过smtp阅读邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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