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 7660037
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T13:24:42+00:00 2026-05-31T13:24:42+00:00

One thing I don’t understand with sending Async emails from ASP.NET page is when

  • 0

One thing I don’t understand with sending Async emails from ASP.NET page is when we call SendAsync it should be executed on a separate thread so our page can continue its execution flow and finish its response no matter how long the sending will take.

  1. How then we can call method on the same page using SendCompletedEventHandler? The page object might not exist by that time and in this forum there are examples that people doing that.

  2. My expectation was that I can have separate class which might have static method which I will execute on SendCompletedEventHandler and this way we can report possible errors.
    However when I’m raising exception in there the exception comes as part of Page Response. So for me it looks as SendAsync works on the same thread, page waites for it to be executed and comes back with information on any errors raised by it.

Is it how it should be? So what is meaning of the Async then?

Completely confused… Can anyone help?

UPDATE: Found a post which helped me a lot HERE IS THE LINK

  • 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-05-31T13:24:42+00:00Added an answer on May 31, 2026 at 1:24 pm

    Because the handler is static, it doesn’t require the page object to still exist because it doesn’t use or depend on object state. When the callbackhandler needs to be called, the method can be invoked with no fear that the original object doesn’t exist.

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

Sidebar

Related Questions

One thing I don't understand about Scala, is why Null subclasses everything, despite not
I just learn up to tree and one thing I don't understand about it
I am new to using numpy and one thing that I really don't understand
One thing that really interests me that I don’t see much written about or
I'm trying to wrap my mind around MEF. There is one thing I don't
One thing about Oracle Apex that I just don't get is the lack of
The one thing I don't like about javascript is that there are hundreds of
One thing I don't like about writing javascript-based applications is that you have to
I need to create slideshow for gallery. And one thing that I don't know
I've read the Google docs on sitemap formats but there's one thing they don't

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.