Solved

problem while sending mail to hotmail and rediffmail using System.Web.Mail component

Posted on 2004-10-05
4
293 Views
Last Modified: 2010-04-07
hi
i have a problem while sending mail to hotmail and rediffmail using System.Web.Mail component.
it doesn't give any warning or error message but the mail is not being sent.

here is the code.
      SmtpMail.SmtpServer = "xxx.xxxx.xxx.xxx";
                  MailMessage oMessage = new MailMessage();
                  oMessage.BodyFormat = MailFormat.Text;
                  oMessage.Priority = MailPriority.High;
                  oMessage.From = "sasi@xxx.com";
                  oMessage.To = "xxx@hotmail.com";
                  oMessage.Subject = "Test Mail";
                  oMessage.Body = "This is a test e-mail";
                  SmtpMail.Send(oMessage);

Thanks in advance
Regards,
Sasikumar
0
Comment
Question by:ravisankar1978
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 20

Accepted Solution

by:
ihenry earned 500 total points
ID: 12227078

I'm not sure if you can use SmtpMail to connect to Hotmail. The following article might help

http://www.csharphelp.com/archives2/archive456.html
Hotmail Using C# – A HTTPMail Client Under .NET
0
 
LVL 20

Expert Comment

by:ihenry
ID: 12227299
And also this
mail2rss
http://mail2rss.sourceforge.net/
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
wordfence security dashboard differs 6 75
Facebook custom search 4 220
Add server behaviors to Dreamweaver CC 2015 2 254
Annoying "thing" blocks my view 4 146
When deciding to adopt any help desk solutions many factors should be explored before taking decisions. This will change from business to another but in general there are some kind of rule of thumb. Here are some quick tips: Do we need only ticket…
This article provides a case study on how our local youth baseball league deployed a new website, including the platform selection, implementation and benefits to the league.
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question