SMTP客户端类和Windows Live Mail [英] SMTP Client Class and Windows Live Mail

查看:276
本文介绍了SMTP客户端类和Windows Live Mail的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





如果系统上安装了Windows Live Mail,SMTP客户端类是否通过Windows Live Mail发送电子邮件?



我想要这样做的原因是因为WLM非常好地处理包含图形的消息体。我所要做的就是将Word文件的内容粘贴到邮件正文中,指定电子邮件地址,然后单击发送。如果我可以以编程方式将Word文件的内容复制到新WLM消息的正文中,更新主题字段,指定BCC收件人地址,然后让WLM发送消息,那将是理想的。



例如,与完全不同的东西相关:我弹吉他。重复播放音乐mpg文件的任何特定部分是很方便的,这样我就可以在吉他上学习和练习它。我写了一个使用Media Player的VB .NET应用程序。我所要做的就是创建一个项目引用,然后以编程方式发出适当的命令。同样,我想创建一个VB .NET应用程序,其中包含对WLM的引用,并让WLM处理我在使用Media Player时的详细信息。



谢谢,



Mike

Hi,

Does the SMTP Client class send email through Windows Live Mail if Windows Live Mail is installed on the system?

My reason for wanting to do this is because WLM handles message bodies containing graphics very well. All I have to do is paste the contents of a Word file into a message body, specify email addresses, and then click "Send". If I could programmatically copy the contents of a Word file into the body of a new WLM message, update the subject field, specify BCC recipient addresses, and then get WLM to send the message, it would be ideal.

For example and related to something entirely different: I play the guitar. It is handy to repeatedly play any specific section of a musical mpg file so that I can learn and practice it on the guitar. I wrote a VB .NET app that uses Media Player. All I had to do was to create a project reference to it and then issue the appropriate commands programmatically. Similarly, I would to create a VB .NET app that contains a reference to WLM and get WLM to handle the details as I am doing with Media Player.

Thanks,

Mike

推荐答案

不,为什么?奇怪的想法。 Windows Live Mail是一个邮件客户端;没有什么可以通过它发送电子邮件:

http://en.wikipedia.org/wiki/Live_Mail [ ^ ]。



System.Net.Mail.SmtpClient 可与某些SMPT服务器配合使用,因为它的设计目的是:

http://msdn.microsoft.com/en-us/library/ system.net.mail.smtpclient.aspx [ ^ ],

http://en.wikipedia。 org / wiki / SMTP_server [ ^ ]。



-SA
No, why? Weird idea. Windows Live Mail is a mail client; nothing can send email "through" it:
http://en.wikipedia.org/wiki/Live_Mail[^].

And System.Net.Mail.SmtpClient works with some SMPT server, as it is designed to do so:
http://msdn.microsoft.com/en-us/library/system.net.mail.smtpclient.aspx[^],
http://en.wikipedia.org/wiki/SMTP_server[^].

—SA


参见 RFC 1521 [ ^ ]有关如何向邮件添加附件的详细信息。
See RFC 1521[^] for details of how to add attachments to mail messages.


这篇关于SMTP客户端类和Windows Live Mail的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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