Click here to Skip to main content
15,888,816 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
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
Posted
Updated 18-Sep-13 7:00am
v2

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
 
Share this answer
 
See RFC 1521[^] for details of how to add attachments to mail messages.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900