Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / July 2007

Tip: Looking for answers? Try searching our database.

email to-> hotmail problem (DiscountASP)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jassim - 10 Jul 2007 00:31 GMT
can anyone check this thread and help me please

http://forums.asp.net/p/1131438/1794655.aspx#1794655
Mark Rae [MVP] - 10 Jul 2007 00:58 GMT
> can anyone check this thread and help me please
>
> http://forums.asp.net/p/1131438/1794655.aspx#1794655

Sigh... not without seeing your code...

Signature

Mark Rae
ASP.NET MVP
http://www.markrae.net

Jassim - 10 Jul 2007 12:14 GMT
for your info, the same code is working fine for all emails excpt
hotmail.com

here is the code:
               MailMessage mail_message = new MailMessage();
               SmtpClient smtp_client = new SmtpClient("localhost");

               string html_message = null;

               html_message = "<html>";
               html_message += "<head>";
               html_message += "<meta http-equiv=Content-Type
content='text/html; charset=windows-1252'>";
               html_message += "</head>";
               html_message += "<body>";
               html_message += "Thank you for registering with zatoor.com
and welcome to the world of free classifieds. We hope you will enjoy using
our website.";
               html_message += "<br><br>";
               html_message += "Please click on the following link to
activate your account:";
               html_message += "<br>";
               html_message += "<a
href='http://www.zatoor.com/activate.aspx'>CLICK HERE TO ACTIVATE YOUR
ACCOUNT</a>";
               html_message += "<br><br>";
               html_message += "zatoor.com Team";
               html_message += "</body>";
               html_message += "</html>";

               mail_message.From = new MailAddress("info@zatoor.com",
"zatoor.com");
               mail_message.To.Add(txtEmailAddress.Text);
               mail_message.CC.Add("jrahma@yahoo.com");
               mail_message.Priority = MailPriority.High;
               mail_message.IsBodyHtml = true;
               mail_message.Subject = "welcome to zatoor.com";
               mail_message.Body = html_message;

               smtp_client.Send(mail_message);

>> can anyone check this thread and help me please
>>
>> http://forums.asp.net/p/1131438/1794655.aspx#1794655
>
> Sigh... not without seeing your code...
Mark Rae [MVP] - 10 Jul 2007 12:31 GMT
> for your info, the same code is working fine for all emails excpt
> hotmail.com

And what error(s) are you getting with HotMail? Are your emails getting
bounced? Might the be being caught in HotMail's spam filter? Has the
recipient accidentally added you to their Blocked Senders list?

Signature

Mark Rae
ASP.NET MVP
http://www.markrae.net

Jassim - 10 Jul 2007 22:02 GMT
I am getting nothing..It just send the email hutmail will never receive it.
However, when I send an email from hotmail to zatoor.com and then reply to
the email from zatoor.com i do receive it and I don't know why!!

>> for your info, the same code is working fine for all emails excpt
>> hotmail.com
>
> And what error(s) are you getting with HotMail? Are your emails getting
> bounced? Might the be being caught in HotMail's spam filter? Has the
> recipient accidentally added you to their Blocked Senders list?
Jassim Rahma - 13 Jul 2007 20:38 GMT
plz help..

>> for your info, the same code is working fine for all emails excpt
>> hotmail.com
>
> And what error(s) are you getting with HotMail? Are your emails getting
> bounced? Might the be being caught in HotMail's spam filter? Has the
> recipient accidentally added you to their Blocked Senders list?
Juan T. Llibre - 13 Jul 2007 20:55 GMT
That's a well-known problem.

Many ISPs accept web mail from any source.
Hotmail isn't one of them.

You can *reply* to a Hotmail mail, but you cannot originate
mail to a Hotmail account using system.web nor system.net.

I think it has to do with their spam filter settings.

When system.web or system.net send mail, they use the machine's
name as the originator, and the sender is not authenticated.

Unless you are sending through a fully-qualified mail server name, which requires
authentication, those messages will get bounced and classified as SPAM by Hotmail.

Bottom line : don't use a simple smtp server.
Use a full-fledged POP3 mail server and authenticate the message sender.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================

> for your info, the same code is working fine for all emails excpt hotmail.com
>
[quoted text clipped - 36 lines]
>>
>> Sigh... not without seeing your code...
Jassim Rahma - 16 Jul 2007 23:08 GMT
the problem is solved by using smtp.zatoor.com instead of localhost in the
SmtpClient but now I have one problem!! when I receive the message in
Windows Live Hotmail, I get (This message has been blocked for your safety)
message with it.

what can I do?

> That's a well-known problem.
>
[quoted text clipped - 68 lines]
>>>
>>> Sigh... not without seeing your code...

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.