Solved

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

Posted on 2004-10-05
4
291 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
  • 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 Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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.
When setting up new project requests for our site, one of the most powerful tools our team has available to use is Axure (http://www.axure.com/). It’s a tool for creating software and web prototypes that can function and interact as if it were the a…
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…
The purpose of this video is to demonstrate how to Test the speed of a WordPress Website. Site Speed is an important metric of a site’s health. Slow site speed can result in viewers leaving your site quickly and not seeing your content. This…

685 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