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. General Programming
  3. C#
  4. About Sending Mail

About Sending Mail

Scheduled Pinned Locked Moved C#
helpcsharpdatabasesql-servervisual-studio
6 Posts 3 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.
  • C Offline
    C Offline
    cool_samia_naz
    wrote on last edited by
    #1

    Hi, I am sending mail from SMTP Server, I am using Visual Studio 2005 with SQL Server 2000 at backend. when i send the mail first itt moves to Queue and then to bad mail folder with delivery failure notification. the Error code was 0xC00402C7. i have applied the Relay settings at system , my o/s is Win XP Professional i m sure my code is fine but the problem is with certain iis settings Please Help , Suggestions and solutions are needed

    C S 3 Replies Last reply
    0
    • C cool_samia_naz

      Hi, I am sending mail from SMTP Server, I am using Visual Studio 2005 with SQL Server 2000 at backend. when i send the mail first itt moves to Queue and then to bad mail folder with delivery failure notification. the Error code was 0xC00402C7. i have applied the Relay settings at system , my o/s is Win XP Professional i m sure my code is fine but the problem is with certain iis settings Please Help , Suggestions and solutions are needed

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

      First, what does SS2000 have to do with anything ? Second, we can't fix your code if you don't post it.

      Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

      1 Reply Last reply
      0
      • C cool_samia_naz

        Hi, I am sending mail from SMTP Server, I am using Visual Studio 2005 with SQL Server 2000 at backend. when i send the mail first itt moves to Queue and then to bad mail folder with delivery failure notification. the Error code was 0xC00402C7. i have applied the Relay settings at system , my o/s is Win XP Professional i m sure my code is fine but the problem is with certain iis settings Please Help , Suggestions and solutions are needed

        S Offline
        S Offline
        sunspeed
        wrote on last edited by
        #3

        Have you enabled logging for the Smtp in the IIS Management console? If you did, look at the log, there should be an error message with the reason. Please post this message, than we may can resolve the problem. The message should also be in the failure notification. (near the error code i think) cheers

        Der Staat mit der niedrigsten Geburtenrate ist nicht die Bundesrepublik, sondern der Vatikan.

        1 Reply Last reply
        0
        • C cool_samia_naz

          Hi, I am sending mail from SMTP Server, I am using Visual Studio 2005 with SQL Server 2000 at backend. when i send the mail first itt moves to Queue and then to bad mail folder with delivery failure notification. the Error code was 0xC00402C7. i have applied the Relay settings at system , my o/s is Win XP Professional i m sure my code is fine but the problem is with certain iis settings Please Help , Suggestions and solutions are needed

          S Offline
          S Offline
          sunspeed
          wrote on last edited by
          #4

          It seems that the reply mail receiver

          (Unable+to+relay+for+shumaila.****@***.com)

          could not be reached. Please try to send an email to the reply receiver directly, it should fail. If it does, try to remove the reply option. Please remove the logfile and the code example you submitted. I hope that the details in it are no real infos. Hope this helps.

          Der Staat mit der niedrigsten Geburtenrate ist nicht die Bundesrepublik, sondern der Vatikan.

          C 1 Reply Last reply
          0
          • S sunspeed

            It seems that the reply mail receiver

            (Unable+to+relay+for+shumaila.****@***.com)

            could not be reached. Please try to send an email to the reply receiver directly, it should fail. If it does, try to remove the reply option. Please remove the logfile and the code example you submitted. I hope that the details in it are no real infos. Hope this helps.

            Der Staat mit der niedrigsten Geburtenrate ist nicht die Bundesrepublik, sondern der Vatikan.

            C Offline
            C Offline
            cool_samia_naz
            wrote on last edited by
            #5

            Sorry i cant understand wht did u say "Please try to send an email to the reply receiver directly" can u plz explain i m greatly thankful to u

            S 1 Reply Last reply
            0
            • C cool_samia_naz

              Sorry i cant understand wht did u say "Please try to send an email to the reply receiver directly" can u plz explain i m greatly thankful to u

              S Offline
              S Offline
              sunspeed
              wrote on last edited by
              #6

              Write a little testprogram, where you send an mail to the receiver "shumaila.***@***.com" and check what log messages are created. You can email the logfiles to me.

              Der Staat mit der niedrigsten Geburtenrate ist nicht die Bundesrepublik, sondern der Vatikan.

              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