Sending email

juggernot

Well-known member
Joined
Sep 28, 2006
Messages
173
Programming Experience
Beginner
I'd like to know how to send email in vb.net. In the program I'm working on, the user inputs his email when he registers, then if he forgets his password he can type his username and get the password sent back to him.
 
System.Net.Mail namespace is from the System.dll, so you don't have to add any addtional reference to use it, just import the namespace: Imports System.Net.Mail
If this is not possible you can't be working in VB2005/.Net 2.0 as your profile states. Then you should update your forum profile to avoid future confusion, also you are stuck with the CDOSYS and system.web.mail, see the site I linked to in post 11, there is lot of help and discussion about the CDO error there (which in itself is the equivalent of "there was an error".)
 
Back
Top