Validating Emails for System.Net.Mail(stevesmithblog.com)

submitted by rcashrcash(4149) 9 months, 10 days ago

When working with the System.Net.Mail API to send out messages, you may have run into a problem when you add an email address that doesn't exist to a message, it will sometimes throw an exception. Here are some ideas on how to handle these exceptions that might come in handy especially when you're sending out bulk emails.

1 comment |category: |Views: 43

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by vijaystvijayst(1311) 9 months, 10 days ago 0

The post really talks a lot about refactoring the code to make it look clean. A lot of thought has gone to avoid violating the DRY principle. I really liked the simplicity of the validations.

Reply

information Login or create an account to comment on this story