•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 373,544 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,838 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 3336 | Replies: 1
•
•
Join Date: Jul 2005
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
I use the following code to send email, and strange thing that I received the message at hotmail mail, and failed to receive it at yahoo mail, could you help me and explain what happened and how to overcome this.
Regards
Serag Farag
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim msgmail As System.Web.Mail.MailMessage
Dim SmtpMail As System.Web.Mail.SmtpMail
msgmail = New System.Web.Mail.MailMessage
' SmtpMail =
msgmail.To = "elomah@yahoo.com"
msgmail.Cc = "ahmed_serageldin@hotmail.com"
msgmail.From = "ahmed_serageldin@hotmail.com"
msgmail.Subject = "subject of ggggggggggggggmsg"
msgmail.BodyFormat = System.Web.Mail.MailFormat.Html
msgmail.Body = " what u send mail ofgh ghgf ghr msgs"
SmtpMail.SmtpServer = "serag-0ivd22eow"
smtpmail.send(msgmail)
Response.Write("msg recived")
End Sub
Regards
Serag Farag
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim msgmail As System.Web.Mail.MailMessage
Dim SmtpMail As System.Web.Mail.SmtpMail
msgmail = New System.Web.Mail.MailMessage
' SmtpMail =
msgmail.To = "elomah@yahoo.com"
msgmail.Cc = "ahmed_serageldin@hotmail.com"
msgmail.From = "ahmed_serageldin@hotmail.com"
msgmail.Subject = "subject of ggggggggggggggmsg"
msgmail.BodyFormat = System.Web.Mail.MailFormat.Html
msgmail.Body = " what u send mail ofgh ghgf ghr msgs"
SmtpMail.SmtpServer = "serag-0ivd22eow"
smtpmail.send(msgmail)
Response.Write("msg recived")
End Sub
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb ASP.NET Marketplace
- Problem with Provider Management in ASP.NET 2.0 (ASP.NET)
- To show Tabcontrol on webform in ASP.NET using VB.NET (ASP.NET)
- Auto Mail in ASP.NET (ASP.NET)
- Sending sms via asp..net (VB.NET)
- Need Suggestion regarding sending sms through asp.net app (ASP.NET)
- ASP.Net Error (ASP.NET)
- Problem with Crystal Report in ASP.NET (ASP.NET)
Other Threads in the ASP.NET Forum
- Previous Thread: passowrd authontication .net and soap
- Next Thread: How to call a ServerSide Script through Javascript



Threaded Mode