Hello
I am getting an error message that says:
Comma, ')', or a valid expression continuation expected.
It refers to this line:
sbody.Append("<a href=http://usingasp.net/reset_pwd.aspx?email="Please click here to reset your password</a>")
How should I write that, please?
My code looks like this:
Protected Sub SendPost_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles SendPost.Click
Dim SMTPMail As New System.Net.Mail.MailMessage()
Dim sbody As New StringBuilder()
sbody.Append("<a href=http://usingasp.net/reset_pwd.aspx?email="Please click here to reset your password</a>")
If True Then
SMTPMail.From = New MailAddress("me@mycompany.com") 'This is the Webmaster
SMTPMail.[To].Add("you@yourcompany.com" ...
Go to the complete details ...