Don’t forget to change the sender and recipient names to yours.Ĭopy the file smtp-test-email.txt to the C:\inetpub\mailroot\Pickup folder. It is easier to do it by creating a plain-text file smtp-test-email.txt on your desktop and copying the following text to it. The last thing you have to do is to make sure that your SMTP server is working. Running smtpsvc Simple Mail Transfer Protocol (SMTP) Make sure that the SMTPSVC service is running: Set-service smtpsvc -StartupType Automatic You can do it quickly using the PowerShell command prompt: It remains to configure the automatic startup of SMTP service on your Windows Server. Otherwise, most external SMTP servers won’t accept email from you, considering your server a spammer one. The PTR record for your public IP address should point to your server FQDN name. If your server sends mail to other domains, it is important that the correct PTR record is created for your IP address in order to resolve reverse DNS lookups.If your SMTP server cannot correctly resolve DNS names of domains to which it is trying to send email, the delivery will fail. The DNS settings are critical from the point of view of email system health.