473,320 Members | 1,876 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

.Net Mail and hotmail question

Bob
I have a bit of code in a functions that sends a .Net mail message
asynchronously.
emailClient.SendAsync(EmailMessage, 0)
I don't really want to wait for the return status of the messages, so this
normally tests out fine BUT

When testing it I use my localhost as the smtp server. I can send an e-mail
to my normal e-mail address and I get it with my outlook but it won't send
an e-mail to my hotmail address. I won't see it thru my outlook hotmail
connection, nor will I see it in my internet browser whenn I connect to my
hotmail account.
Yet when I test my Outlook program, I can send an e-mail to my hotmail
e-mail address and I will see it in my Outlook hotmail account or in my
Internet browser page for my hotmail.

Why does this not work with the .Net emailclient.send(Emailmessage) nor
with emailClient.SendAsync(EmailMessage, 0), it looks like trying to send
via my localhost smtp server is being blocked by hotmail servers.

Any help would be appreciated.

Bob

May 23 '06 #1
1 1574
Did you check Hotmail's Junkmail folder? If I remember correctly, when
sending an email message using ASP.NET on localhost, Hotmail views it as
Junk (probably because not many people have a certificate on their localhost
server). I would first see if it does get sent to Hotmail's Junkmail folder.
If it does, see if the same thing happens when you put the site on your
production server (what certificates your production server has on it will
determine this). These statements come from past experience only, but if I
remember correctly I had the same problem, and I then eventually realized
the mail was being sent to my Junkmail folder. Good Luck!
--
Nathan Sokalski
nj********@hotmail.com
http://www.nathansokalski.com/

"Bob" <bd*****@sgiims.com> wrote in message
news:Oq****************@TK2MSFTNGP05.phx.gbl...
I have a bit of code in a functions that sends a .Net mail message
asynchronously.
emailClient.SendAsync(EmailMessage, 0)
I don't really want to wait for the return status of the messages, so this
normally tests out fine BUT

When testing it I use my localhost as the smtp server. I can send an
e-mail to my normal e-mail address and I get it with my outlook but it
won't send an e-mail to my hotmail address. I won't see it thru my outlook
hotmail connection, nor will I see it in my internet browser whenn I
connect to my hotmail account.
Yet when I test my Outlook program, I can send an e-mail to my hotmail
e-mail address and I will see it in my Outlook hotmail account or in my
Internet browser page for my hotmail.

Why does this not work with the .Net emailclient.send(Emailmessage) nor
with emailClient.SendAsync(EmailMessage, 0), it looks like trying to send
via my localhost smtp server is being blocked by hotmail servers.

Any help would be appreciated.

Bob


May 25 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Wm | last post by:
I'm totally clueless on this one -- I'm getting 3 copies of every Email (in plain text, not HTML as expected), from a single mail() line... Can anyone tell me what might be causing the duplicates??...
13
by: Ammar | last post by:
OK guys, Thanks to your help, I could finally send ASP mails with attachements... A very strange question: When I looked through all the sites you gave me and through Google, I got the impression...
6
by: erdem kemer | last post by:
i cant send mail to yahoo mail or hotmail while i can send my other mail accounts (pop3) is it becouse yahoo and hotmail is web-based mail here is the code MailMessage mailMsg = new...
17
by: LACH | last post by:
When I sent e-mail from within my asp.net application to Hotmail adresses. The e-mail always end up in Junk e-mail. I sent the e-mail as plain/text. Does anyone know how to solve this?
9
by: B-Dog | last post by:
I've built a small app that sends mail through our ISP's SMTP server but when I try to send through my local exchange server I get CDO error. Does webmail use SMTP or does it strictly rely on...
10
by: herbert | last post by:
I am a hotmail user. 1) How do I send e-mail from my .NET 2.0 app via hotmail? How should the following lines look like? Assume my hotmail username is HMUN, my hotmail password is HMPW. Dim...
1
by: crescent_au | last post by:
I am developing a simple mailing system. This requires sending emails in HTML format to one or more recipient. I am currently using PHP's mail() function. It works alright but it doesn't seem...
12
by: e_matthes | last post by:
Hello everyone, I am trying to use the mail() function to send a simple, text-only message. I have two websites hosted by the same company, on different servers. One is old and established,...
9
by: JoeP | last post by:
Hi All, How can I find the reason for such an error: Failure sending mail. Some Code... oMailMessage.IsBodyHtml = False oMailMessage.Body = cEmailBody Dim oSMTP As New SmtpClient...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.