Author: priyajee8 | Posted on: 8/21/2009 6:16:13 AM | Views : 269

Hai everybody,
     I'm a new member to this forum.I'm a beginner in asp.net.I need to write a code for sending emails in asp.net2.0.Below is my code for sending mail

Dim msg As New System.Net.Mail.MailMessage("reachus@purpleorange.ismywesite.com", "priyaarc@gmail.com")
msg.Subject = "Hai"
msg.Body = "Hai"
SmtpMail.Send(msg)is anything wrong with the above code?if yes,plz clarify it to me..


Regards,
Priyajee



...

Go to the complete details ...