Generate Email

retkehing

Well-known member
Joined
Feb 5, 2006
Messages
153
Programming Experience
Beginner
After the user click on a button, i want to generate an email and send it according to the provided email address. May i know how to code this as well as the title and content of the email, is it possible to provide a link in the email that lead the user to open a certain form of the vb.net application which resides on the server side? Thank you.
 
You have several options.
Using mailto with Process.Start to launch the default email client with information filled in; the user has to click the send button so this method isn't fully automatic.
Using an SMTP client to send the email; this method utilizes the System.Net.Mail namespace, namely the System.Net.Mail.MailMessage and System.Net.Mail.SmtpClient classes and can be fully automated.
 
Back
Top