Skip to content

Create email in vb.net

Thomas Myler

Asked Apr 18, 2006, 12:19 PM EDT2 answers
Share
LinkedInX
Can anyone provide the vb.net code to create and send email through an SMTP server that requires authentication? Email via Outlook works fine but sending email from a vb.net program fails due to no authentication. Thank you.

2 Answers

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    Well, a Google Search showed up lots of results. This one is very clear.
    0
  • 0
    I am using a linkbutton and the text of the linkbutton is the email address. I wrote the code to send the email in the click event of the linkbutton. But when I click the button, it opens a new browser window with "javascript:__doPostBack('lnkCustomerEmail','')" in the address bar. Could you please tell me how to prevent this ?
    0