|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
.Net Mail and hotmail questionasynchronously. 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 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! Show quoteHide quote "Bob" <bduf***@sgiims.com> wrote in message news:OqAQ%23IpfGHA.4304@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 > > > > >
What's the most performant? Fat our smart client?
CHRW MDI Form mdiList for experts Login Dialog output data from the result of storedprocedure into excel format Controls do not show correctly at runtime. What are they? 2 small questions File / Folder linking RE: Communicate between 2 applications on the same machine |
|||||||||||||||||||||||