Sending emails using System.Net.Mail

L

leodomitrovic

Hi,I am trying to send an email from my Blazor Server app using remote SMTP host. I tested my app by starting debugging in Visual Studio and email is sent. But when I put it on IIS server, locally and remote, email is not sent. I am using the same code, I just published it in Visual Studio so I can deploy it on IIS. I don't know what the problem is. I tried changing SMTP port but it didn't help. Did someone have this problem?

Continue reading...
 
Back
Top Bottom