Sending E-Mail Automatically

I am making an application in visual basic, and would like to do a feedback kind of thing in it. Is it possible to have visual basic automatically send the content of a form to an e-mail address I specify in the code? If any of you know how to do this, please tell me what code I could use, or if you have a tutorial, please give me the link.

Thanks in advance

#457954

I don't know if this is going to help you, but you may try those links below (and searching on thecodeproject in general):

http://www.codeproject.com/internet/email.asp

http://www.codeproject.com/useritems/VB2005_SMTP_EMail.asp

#457958

Thanks, but I saw both of those before I posted here. I want it to automatically send an email to an account I specify, preferable without having to open a mail client or anything. The user puts text in a text box, presses a button, and the text in that box is sent in the form of an email to me.

#457959

Here's an entry over at MSDN on how to use CDO in your project to give you mailing capabilities.

http://support.microsoft.com/default.aspx/kb/161833

Hope it helps and good luck. :)

Edit: Not sure if it will help but here's what I use to send mail directly from my programs. It's in C# (I'm a C# programmer) but it might give you a start...

#457982

Here's a good source for CDO using vbscript. Should be easily transferred over to VB.

http://www.paulsadowski.com/WSH/cdo.htm

#457995