i m using the following code
Dim feedbackemail As New MailMessage()
feedbackemail.To = "adasdas@dotnet.itags.org.hotmail.com"
feedbackemail.Cc = "asdsdsd@dotnet.itags.org.yahoo.com"
feedbackemail.From = "dsdsds@dotnet.itags.org.hotmail.com"
feedbackemail.Subject = "This is subject "
feedbackemail.Body = "This is my email message"
feedbackemail.BodyFormat = MailFormat.Text
feedbackemail.Priority = MailPriority.High
SmtpMail.SmtpServer = "localhost"
Try
SmtpMail.Send(feedbackemail)
Catch ex As Exception
Response.Write(ex.Message)
End Try
but this is not working. no error in the code. itried everything but now way. waiting for response.What is the error that you are recieving?
Do you have an SMTP sever running on your local box?
The answer to all your mail problems are onhttp://www.systemwebmail.net
0 comments:
Post a Comment