Email
Hi,
Is there a way to automatically attach a file to a new email message directly from VB.NET? I would need it to work with as many email clients as possible obviously, but so far can only do it by instantiating an Outlook object, etc.
Can anyone help?
Thanks!
[287 byte] By [
Becks] at [2007-11-19 7:29:32]

# 3 Re: Email
To Make a long story short. The SMTP protocol is how e-mail works. If you use outlook to connect to your ISP's e-mail server, you are using SMTP. Here is a class that will allow you to send text only e-mail's through SMTP. There is code in there for attachments however, I converted this from a VB app and I have not done all the necessary programming to finish up adding attachments to this. This may help you get started though.