View Single Post
 
Old June 1st, 2006, 12:15 AM
harshaghanta harshaghanta is offline
Authorized User
 
Join Date: May 2006
Location: Hyderabad, Andhra Pradesh, India.
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default Regarding email to yahoo account

Hii guys,

      I am able to send email to gmail account.but i am unable to send email to yahoo account from my asp.net application.I am attaching my code below.if any one knows please reply me its very urgent.

                            Thanks in advance.


imports system.web.mail
Dim mail As New MailMessage
            mail.To = txtemailid.Text.ToLower
            mail.From = "prabhakar@teegasys.com"
            mail.Subject = ""
            mail.BodyFormat = MailFormat.Html
            mail.Body = "<h1>your password is " & pwd & " </h1>"
            SmtpMail.Send(mail)