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. SMTP Exception Handling

SMTP Exception Handling

Scheduled Pinned Locked Moved C#
help
5 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
    Daljeet515
    wrote on last edited by
    #1

    hiee, i'm writin an prg 4 sending mails this is ma code ,its works fine . bt i want to display de error msg that might occur as in de exception

    C P E 3 Replies Last reply
    0
    • D Daljeet515

      hiee, i'm writin an prg 4 sending mails this is ma code ,its works fine . bt i want to display de error msg that might occur as in de exception

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

      Daljeet515 wrote:

      this is ma code

      Your mother is writing the code ? writin prg 4 ma bt de - these things make you look like a moron. This is not a mobile phone, it's a computer. You have 101 keys, use them.

      Christian Graus - Microsoft MVP - C++ "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
      • D Daljeet515

        hiee, i'm writin an prg 4 sending mails this is ma code ,its works fine . bt i want to display de error msg that might occur as in de exception

        P Offline
        P Offline
        Pete OHanlon
        wrote on last edited by
        #3

        Daljeet515 wrote:

        hiee, i'm writin an prg 4 sending mails this is ma code ,its works fine . bt i want to display de error msg that might occur as in de exception

        WTF is this? Are you MC Daljeet515 the baddest homeboy on the boards? Are you down with the coders or are you just a moron who's scraped the paint off most of the keys so you've only got 12 left? Please, please, please learn about the wonderful consonants and vowels that are available to you - I mean you've got 26 of them in the English language. The 14 you left out are feeling lonely and unwanted. By the way - what code? You have mentioned this being your code and yet it has failed to materialise like the fat ugly girl on prom night.

        Deja View - the feeling that you've seen this post before.

        My blog | My articles

        1 Reply Last reply
        0
        • D Daljeet515

          hiee, i'm writin an prg 4 sending mails this is ma code ,its works fine . bt i want to display de error msg that might occur as in de exception

          E Offline
          E Offline
          ekynox
          wrote on last edited by
          #4

          Maybe this person is writing in this manner intentionally just to annoy a few people on these forums. Is this the current standard communication of software developers this day in age ? :mad: How hard is it to display an exception ? try { SendEmails() } catch(Exception e) { MessageBox.Show(e.Message); //or Console.WriteLine(e.Message); // or System.Diagnostics.Debug.WriteLine(e.Message); } You might want to catch specific exceptions first before handling a generic exception.

          V 1 Reply Last reply
          0
          • E ekynox

            Maybe this person is writing in this manner intentionally just to annoy a few people on these forums. Is this the current standard communication of software developers this day in age ? :mad: How hard is it to display an exception ? try { SendEmails() } catch(Exception e) { MessageBox.Show(e.Message); //or Console.WriteLine(e.Message); // or System.Diagnostics.Debug.WriteLine(e.Message); } You might want to catch specific exceptions first before handling a generic exception.

            V Offline
            V Offline
            Vasudevan Deepak Kumar
            wrote on last edited by
            #5

            ekynox wrote:

            Maybe this person is writing in this manner intentionally just to annoy a few people on these forums

            Without doubt. In fact, this is one way, I apprehend, these low profile creatures are staging a Denial _o_f Service attacks. As we focus on such people, we can actually help other deserving ones right?

            Vasudevan Deepak Kumar Personal Homepage
            Tech Gossips
            A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson

            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