Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. mail sending problem in asp.net + c#

mail sending problem in asp.net + c#

Scheduled Pinned Locked Moved ASP.NET
csharpasp-nethelpquestion
9 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    deepthy p m 0
    wrote on last edited by
    #1

    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.

    N D T 3 Replies Last reply
    0
    • D deepthy p m 0

      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.

      N Offline
      N Offline
      N a v a n e e t h
      wrote on last edited by
      #2

      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

      D 1 Reply Last reply
      0
      • N N a v a n e e t h

        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

        D Offline
        D Offline
        deepthy p m 0
        wrote on last edited by
        #3

        but in in.com i didn't get that mail.but in yahoo.com its in the span .How can i send directly to inbox in all accounts.

        N C 2 Replies Last reply
        0
        • D deepthy p m 0

          but in in.com i didn't get that mail.but in yahoo.com its in the span .How can i send directly to inbox in all accounts.

          N Offline
          N Offline
          N a v a n e e t h
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0
          • D deepthy p m 0

            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.

            D Offline
            D Offline
            Dev S
            wrote on last edited by
            #5

            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.

            D 1 Reply Last reply
            0
            • D deepthy p m 0

              but in in.com i didn't get that mail.but in yahoo.com its in the span .How can i send directly to inbox in all accounts.

              C Offline
              C Offline
              Christian Graus
              wrote on last edited by
              #6

              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.

              1 Reply Last reply
              0
              • D Dev S

                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.

                D Offline
                D Offline
                deepthy p m 0
                wrote on last edited by
                #7

                i use localhost mail server SmtpMail.SmtpServer = "localhost";

                D 1 Reply Last reply
                0
                • D deepthy p m 0

                  i use localhost mail server SmtpMail.SmtpServer = "localhost";

                  D Offline
                  D Offline
                  Dev S
                  wrote on last edited by
                  #8

                  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.

                  1 Reply Last reply
                  0
                  • D deepthy p m 0

                    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.

                    T Offline
                    T Offline
                    tech603
                    wrote on last edited by
                    #9

                    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

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • World
                    • Users
                    • Groups