Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


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

Posted on 2004-10-05
Medium Priority
Last Modified: 2010-04-07
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 = "";
                  MailMessage oMessage = new MailMessage();
                  oMessage.BodyFormat = MailFormat.Text;
                  oMessage.Priority = MailPriority.High;
                  oMessage.From = "";
                  oMessage.To = "";
                  oMessage.Subject = "Test Mail";
                  oMessage.Body = "This is a test e-mail";

Thanks in advance
Question by:ravisankar1978
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
LVL 20

Accepted Solution

ihenry earned 2000 total points
ID: 12227078

I'm not sure if you can use SmtpMail to connect to Hotmail. The following article might help
Hotmail Using C# – A HTTPMail Client Under .NET
LVL 20

Expert Comment

ID: 12227299
And also this

Featured Post

The top UI technologies you need to be aware of

An important part of the job as a front-end developer is to stay up to date and in contact with new tools, trends and workflows. That’s why you cannot miss this upcoming webinar to explore the latest trends in UI technologies!

Question has a verified solution.

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

Turn A Profile Picture Into A Cartoon Using Photoshop And Illustrator This tutorial will teach you how to make a cartoon style image out of a regular picture. I have tried to keep the tutorial as simple as possible. I used Adobe CS4 for this tuto…
This guide will walk you through the essential considerations and tech stack for building scalable websites. Know how to grow your business the smart way!
The purpose of this video is to demonstrate how to automatically show related posts at the bottom of a blog post in WordPress. This will be demonstrated using a Windows 8 PC. Plugin “Yet Another Related Posts Plugin” will be used. Go to your…
The purpose of this video is to demonstrate how to reset a WordPress password if you are locked out and cannot reset the password. A typical use would be if you cannot access the email to which WordPress would send the password recovery email to…

705 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