Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8263295
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T04:03:02+00:00 2026-06-08T04:03:02+00:00

I’m currently working on an web application that sends emails. Actions taken place by

  • 0

I’m currently working on an web application that sends emails. Actions taken place by a user in the browser create events which are passed to a secondary server which sends emails to users who have subscribed to these events.

The current implementation for sending emails is basically a home grown SMTP server. I think it was ported to C# from legacy system and it’s quite unreliable.

My requirements are to be able to send messages and also to know the delivery status of the messages. If they’re failing I’d like to know why and whether or not they’re in the process of retrying.

Ideally, I’d like to scrap the home grown SMTP server and use an open source solution. I know that I can run an SMTP server (like hMailServer) on a machine and use .NET’s SmtpClient to connect and send messages. By itself, this isn’t going to give me much insight into the status of the messages.

It looks like with hMailServer you can use the COM API to query the server and get message statuses. Is this possible? Is this a valid approach?

Aside from what I’ve outlined above, are there any other options?

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T04:03:04+00:00Added an answer on June 8, 2026 at 4:03 am

    What you’re asking for isn’t feasible in its entirety. (Parts of what you’re asking are feasible.)

    An Email goes through several servers in between the sender and the recipient, and you can only control some of them. The rest are completely out of your control.

    You CAN capture many of the send failures, but if a third party spam blocker blocks your email before it reaches the recipient, you have no control over how that spam blocker works. You can’t guarantee it will return a reason.

    As an alternative, you could catch the errors that are possible (via hMailServer, for example) to get and above that, do what email marketers do: Track email opens to see which emails are being read. This is different than being delivered, obviously.

    There’s more on how to do this with .NET here: http://www.codeproject.com/Articles/15109/Tracking-Emails-for-Open-Read

    From our experience, we used a commercial software named Campaign Enterprise from Arial Software, which offers the ability to track just about everything you’re asking for, and uses the “email open” techniques described. It worked quite well, but it’s not free.

    There may be other alternatives out there, but that would be a product recommendation question and would be off-topic here. I offer the above solely as a starting point for you to do your own research to see what other products exists, including those within your price range. (Although this one looks like it might be good, and free.)


    Added based on comment below:

    Other options for attempting to trace trappable SMTP Transmission errors.

    If all you want to know is errors from the SMTP session, you can use the built-in .NET tools, and grab the session trace as outlines here:

    http://www.systemnetmail.com/faq/4.10.aspx

    You can also grab the SmtpFailedRecipientsException if it occurs. Documentation with code sample available at MSDN.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently working on a (relatively) basic web application that functions as a time
I'm currently working a problem that requires my web application to generate a chart
I am currently working on a web application. I was just wondering which has
I currently am working on a web application that needs to collect data from
I'm currently working on a web application that might need to push information to
I am currently working on a private web application that is not going to
Currently, I am working on a web application that uses draw2d library to draw
I am currently working on a web application that uses PHP and MySQL, but
I am currently working on a web application that requires certain requests by users
I have a web application that I am currently working on that uses a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.