Posted on: 11/29/2013 11:16:24 PM | Views : 718

I can not get an email sent from a webpage.
The error is i the line:
.Send(message) It states:
"A from address must be specified." Here is my code:
webpage.aspx
Dim smtpClient As New Net.Mail.SmtpClient() Dim message As New MailMessage() With message .[To].Add("name@email.com") .Subject = "Username & Password" .IsBodyHtml = True .Priority = MailPriority.Normal .BodyEncoding = Encoding.Default .Body = "<h1>Possible New Member</h1><br/><br/>" .Body = .Body + "<h3>Username: </h3>" + TextBox1.Text + "<br/>" .Body = .Body + "<h3>Password: </h3>" + TextBox2.Text + "<br/>" .Body = .Body + "<a href=http://www.mysite.com/webpage.aspx?user=" + TextBox1.Text + " ...

Go to the complete details ...