Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an external SMTP provider:

I am trying to send SQL Server Reporting Services emails via this on an Windows 2012 Azure VM.

It is configured sufficiently correctly for emails to be generated, but I've not configured something or mis-configured something as the emails then stay in the queue.

Setup details

Configured SMTP Virtual Server

General: IP Address: Fixed value
Access: Access Control: Authentication: ticked Anonymous access
Access: Connection Control: All except the list below (which is empty)
Access: relay restrictions: Only the list below (which contains, ticked 'allow all..' option
Delivery: Outbound Security...:Basic Authentication with username and password completed, ticked TLS encryption
Delivery: Outbound connections...:TCP port=587
Delivery: Advanced: FQDN=ServerName,

I then set the following SSRS rsreportserver.config values:

<SMTPServerPickupDirectory> c:\inetpub\mailroot\pickup </SMTPServerPickupDirectory>

Tried so far

1) turning the smtp service off and on again (just in case)

2) run SMTPDiag with no errors (also no emails)

3) tried turning off the firewall for the ports (and more generally to see if it made a difference)

4) tried generation from powershell which resulted with message in queue

5) added 25 and 857 as endpoint

6) perused the event log and found some warnings that appear to be about the recipient

Message delivery to the remote domain '' failed for the following reason: Unable to bind to the destination server in DNS. 
Message delivery to the host '' failed while delivering to the remote domain '' for the following reason: The remote server did not respond to a connection attempt.

7) tried pinging but this appears to be blocked on azure

8) tried more powershell sending on different domains variants (localhost, boxname, internal ip used in smtp properties, - none resulting in success

9) tried adding a remote domain - no change

Could anyone recommend what step 10 should be in fixing this issue please?

share|improve this question

In the end I changed the SMTP host to one that did not require authentication and could impersonate the required email address.

Will leave this open for a while to see if anyone can contribute a more useful answer for this situation to aid anyone who lands on this in the future.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.