ASPNET Application does not send emails

Asked

Viewed 338 times

1

I have an application that has a screen with sending emails, This application works 100% on a virtual server (MANWEB10), including sending emails. When exporting to this new server (MANWEB01) the sending of emails simply does not work anymore, so it can be highlighted that the error is not in the code but in the server configuration.

Can someone give me a hand where exactly I do this? The new server is Windows 2008 R2 Standard and uses IIS 7

  • You changed the SMTP configuration that is on your Web.Conf, or is the same?

  • is the same.. the whole application is the same thing, I haven’t changed a line of code

  • Very strange this, What is the configuration of your old server?

  • was a Windows Server 2003, the complete setup gets hard to copy

  • Got it @Pedro Martine. You managed to catch some error in C#?

  • 1

    Is port 587 open in firewall? Has error description?

  • Update your query with the e-mail configuration and how you are using it.

Show 2 more comments

2 answers

1

If Voce has not changed anything in the code, the problem may be in the server’s own SMTP settings.

See in this step by step Microsoft if there is any configuration without doing on your new server.

Configure SMTP E-mail (IIS 7)

0

Browser other questions tagged

You are not signed in. Login or sign up in order to post.