mail sending problem in asp.net + c#
-
i have included mail delivery code in my project. the problem is that,its sending mails to gmail account successfully without delay.But is unable to send mails to other mail accounts like yahoo,in etc. How can i solve that.
-
i have included mail delivery code in my project. the problem is that,its sending mails to gmail account successfully without delay.But is unable to send mails to other mail accounts like yahoo,in etc. How can i solve that.
deepthy.p.m wrote:
How can i solve that.
Have you looked at the bulk/spam folders? Yahoo might have marked the message as spam.
Navaneeth How to use google | Ask smart questions
-
deepthy.p.m wrote:
How can i solve that.
Have you looked at the bulk/spam folders? Yahoo might have marked the message as spam.
Navaneeth How to use google | Ask smart questions
-
deepthy.p.m wrote:
its in the span
span? :laugh:
deepthy.p.m wrote:
How can i send directly to inbox in all accounts.
Show us the code you are using for sending mail. :)
Navaneeth How to use google | Ask smart questions
-
i have included mail delivery code in my project. the problem is that,its sending mails to gmail account successfully without delay.But is unable to send mails to other mail accounts like yahoo,in etc. How can i solve that.
-
You can't control how a mail provider decides what is spam, if you could, it would be pointless. Whenever the mail is not arriving, you have an issue with your settings and the mail provider, not an ASP.NET question.
Christian Graus Driven to the arms of OSX by Vista.
-
Hi, Credentials of which mail server you are providing i.e. which smtp server you are using for sending mail??? I think it is gmail.
i use localhost mail server SmtpMail.SmtpServer = "localhost";
-
i use localhost mail server SmtpMail.SmtpServer = "localhost";
Actually what we do in such conditions while making some mail sending code. We provide the credentials of our mailserver and then through a mail id of our domain we can send mail to any server whether it is gmail or yahoo. Just while sending your mail code apply break and catch the exception. You will see that most probably these mails were rejected by the servers on which you are sending the mail. Which port and emailid you have provided in your code.
-
i have included mail delivery code in my project. the problem is that,its sending mails to gmail account successfully without delay.But is unable to send mails to other mail accounts like yahoo,in etc. How can i solve that.
This is because most mail accounts like yahoo, msn ect.. have numerous checks like reverse dns to ensure that the emails being sent to them are coming from a fully qualified domain name. If your local computer doesn't have a fully qualified domain name and does not have a reverse dns setup then you may need to send your mail from a remote email server that has that criteria. Hope this helps.
Matthew Vass QA Analyst mvass@hostmysite.com HostMySite.com