Where is an asp.net SMTP email message physically generated from?

When a user function or operation executes in our asp.net application, a confirmation email is sent out, using the SMTP credentials found in the web.config file.
Q- When an external user has logged onto the application, and is performing the process, could their internal corporate firewall block the email being sent out by the app? I am not sure if the email is generated from the host server, or via the user's local session.
Thanks for your input.
Paul RaymondAsked:
Who is Participating?
 
Shaun KlineLead Software EngineerCommented:
Generally speaking, emails created by an ASP.Net application are sent through the mail server defined by/in the ASP.Net application. This could be an email server internal to your organization (such as Exchange) or it could be a third-party email server (GMail, O365, etc.) The user's mail system only comes into play when receiving the email.
2
 
Kyle AbrahamsSenior .Net DeveloperCommented:
Assuming you're in the code behind then you're running on the server.  The user firewall isn't a factor.
1
 
Paul RaymondAuthor Commented:
Thank for your input. I will have to delve deeper into this.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.