I am using the following code to try to send an email asynchronously, but no email is sent and I am not sure what is being done incorrectly. I have also added the 2nd segme
Great. Thank you. I have error because ConfigurationManager.AppSettings["SupportEmailAddr"] was null. You have to set it in your web.config file.
You have a section called:
That is what ConfigurationManager.AppSettings is referring too.
["SupportEmailAddr"] is looking at a specific setting called SupportEmailAddr.
In your web.config it would look something like this: