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]
# 1 Re: Email
Have you checked SMTP protocol ? might be what you're looking for.
Boumxyz2 at 2007-11-10 3:17:58 >
# 2 Re: Email
Well how does that work? Can you check that from a Windows standalone app on any computer?
Becks at 2007-11-10 3:18:58 >
# 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.
sotoasty at 2007-11-10 3:19:56 >