Customer installed some web application on their IIS website on POA-managed Windows shared hosting server. Sending emails through customer's IIS web site does not work.
On Windows shared hosting IIS SMTP feature is used for sending outgoing email messages. Most likely the problem arises because POA LocalSMTP package is not installed on IIS servers or is configured improperly.
First, verify that the POA package LocalSMTP is installed on IIS shared hosting server where problem customer's website is located and check that it is running.
- Log into In POA Provider Control Panel
- Go to Deployment Director > Server Manager > Hardware Nodes
- Click on the needed server in the list
- Open the
- Verify that the
LocalSMTPapplication is present in the list and it is in
- Click on the
- Open the
Verify that the correct relay host is configured
LocalSMTPis absent in the list of applications installed on IIS server - install it via the
Packagestab. If everything is correct in POA Control Panel, then check SMTP configuration on IIS server:
- Log into the IIS server is question using RDP
- Open IIS Manager and verify that SMTP server is started.
- Right-click the SMTP server and select
- Open the
Smart hostconfigured there matches the one configured in POA. Click OK.
If the steps above do not help to resolve the issue, in
Generaltab of SMTP server properties on IIS server check
Enable loggingand click
Next time after an email is sent by the customer's web site application, you will be able to review the SMTP session log (by default the logs are stored in the C:\Windows\System32\LogFiles\SmtpSvc1 folder). In most cases the reason of the issue will be clear from log.
One of the common reasons for delivery failures is that server configured as smart host does not allow to relay mail for IIS server. Configuring your email server to allow to relay mail for shared IIS server depends on the type of mailer you have on your relay host. For qmail, you should add IP of the IIS server to the /usr/local/qmail/shared/control/whitelist file, for Exchange you should modify the receive connector configuration on the Hub Transport server you use as smart host. Please consult documentation for the mailing system you use on your relay host for details.
Do not forget to disable SMTP logging in IIS after troubleshooting is complete.