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. problem in sending mail

problem in sending mail

Scheduled Pinned Locked Moved ASP.NET
helpcsharpasp-netcomsysadmin
11 Posts 4 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.
  • M Miss Maheshwari

    i m trying to send a mail in asp.net but it is throwing

    The server rejected one or more recipient addresses. The server response was: 550 neetu@djsw.com No such user here

    error.... i searched on google but didn't get the solution.... someone tell the solution...

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

    Miss Maheshwari wrote:

    No such user here

    Which part of that error message is unclear? The email address which you are trying to send doesn't exist in the server.

    Navaneeth How to use google | Ask smart questions

    M 1 Reply Last reply
    0
    • M Miss Maheshwari

      i m trying to send a mail in asp.net but it is throwing

      The server rejected one or more recipient addresses. The server response was: 550 neetu@djsw.com No such user here

      error.... i searched on google but didn't get the solution.... someone tell the solution...

      A Offline
      A Offline
      Abhijit Jana
      wrote on last edited by
      #3

      Error Clearly Says, there is no mail id as you given.

      cheers, Abhijit

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

        Miss Maheshwari wrote:

        No such user here

        Which part of that error message is unclear? The email address which you are trying to send doesn't exist in the server.

        Navaneeth How to use google | Ask smart questions

        M Offline
        M Offline
        Miss Maheshwari
        wrote on last edited by
        #4

        but user exists...i tried with neetumahe@gmail.com too and many more existing user but same error....

        N 1 Reply Last reply
        0
        • M Miss Maheshwari

          but user exists...i tried with neetumahe@gmail.com too and many more existing user but same error....

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

          Have you successfully authenticated the server? Do you mind showing the code which you used to send mail?

          Navaneeth How to use google | Ask smart questions

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

            Have you successfully authenticated the server? Do you mind showing the code which you used to send mail?

            Navaneeth How to use google | Ask smart questions

            M Offline
            M Offline
            Miss Maheshwari
            wrote on last edited by
            #6

            yeah sure i can show no problem

            objMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusing", "2");
            objMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate",2);
            objMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpserverport", "25");
            objMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout", 10);
            SmtpMail.SmtpServer = "74.53.152.202";
            objMail.To = txtmail.Text.Trim();
            objMail.From = "info@g2o.in";
            objMail.Body = body;
            objMail.Subject = "New Password";

            try
            {
            SmtpMail.Send(objMail);
            }

            N 1 Reply Last reply
            0
            • M Miss Maheshwari

              yeah sure i can show no problem

              objMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusing", "2");
              objMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate",2);
              objMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpserverport", "25");
              objMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout", 10);
              SmtpMail.SmtpServer = "74.53.152.202";
              objMail.To = txtmail.Text.Trim();
              objMail.From = "info@g2o.in";
              objMail.Body = body;
              objMail.Subject = "New Password";

              try
              {
              SmtpMail.Send(objMail);
              }

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

              Check this[^]. I can't see where you are specifying the password and user details for authenticating the server.

              Navaneeth How to use google | Ask smart questions

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

                Check this[^]. I can't see where you are specifying the password and user details for authenticating the server.

                Navaneeth How to use google | Ask smart questions

                M Offline
                M Offline
                Miss Maheshwari
                wrote on last edited by
                #8

                now i m getting this error

                The message could not be sent to the SMTP server. The transport error code was 0x80040217. The server response was not available

                N 1 Reply Last reply
                0
                • M Miss Maheshwari

                  now i m getting this error

                  The message could not be sent to the SMTP server. The transport error code was 0x80040217. The server response was not available

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

                  Well, I don't know what caused this issue. What I can tell you is to re-ensure the following points 1 - Check the SMTP server and it is accessible 2 - Check the port 3 - Make sure the address you specified in From exists in the server. 4 - User credentials supplied are correct.

                  Navaneeth How to use google | Ask smart questions

                  1 Reply Last reply
                  0
                  • M Miss Maheshwari

                    i m trying to send a mail in asp.net but it is throwing

                    The server rejected one or more recipient addresses. The server response was: 550 neetu@djsw.com No such user here

                    error.... i searched on google but didn't get the solution.... someone tell the solution...

                    B Offline
                    B Offline
                    bilal_yousaf_hussain
                    wrote on last edited by
                    #10

                    I think the problem is that you are not giving the recipient address correctly. Like the address mentioned: neetu@djsw.com does not exist

                    M 1 Reply Last reply
                    0
                    • B bilal_yousaf_hussain

                      I think the problem is that you are not giving the recipient address correctly. Like the address mentioned: neetu@djsw.com does not exist

                      M Offline
                      M Offline
                      Miss Maheshwari
                      wrote on last edited by
                      #11

                      bilal_yousaf_hussain wrote:

                      neetu@djsw.com does not exist

                      it exists... and as i told i tried many existing ids

                      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