I have a section of code that sends email from SMTP server.
The code is carried out webservice & smtp server value is picked up from web.config, while the code hosted on server1 works (send/receive emails), whereas the same code hosted in server2 doesn't send/receive email.
There is some piece of webservice code which sends email via front end app(by consuming this webservice), i have 2 servers using the same smtp, the server1 sends email whereas server 2 fails, it will be great if you tell me how to reach the settings & check/compare server1 vs server2
Can you tell your thoughts?
Thanks