I have a remote office behind a Sonicwall TZ 205 and I'm trying to configure a Dell 2155cdn to scan to Office 365 email. I have set this up on other devices at other offices without a problem, but this location is not working. My settings on the printer are:
Primary SMTP Gateway: smtp.office365.com
SMTP Port Number: 25
E-mail Send Authorization: *Invalid
SMTP Login User: [Blank]
SMTP Login Password: **** (This was auto populated - I didn't enter it)
Re-enter SMTP Login Password: **** (This was auto populated - I didn't enter it)
Reply Address: [a valid office 365 email]
Some other notes: I entered a DNS address of 22.214.171.124 in the network config and I tried replacing the gateway with the IP address. I have tried port 587 and entering credentials. I have also tried the various authentication settings from the drop down. The above configuration is the only way that make the SMTP Server Connection show: "Connection pending until printer sends an alert". Any other configuration makes the SMTP Server Connection show: "Unable to Connect".
The results of the test scan are an error on the printers panel (and on the config web page) that shows: "Error occurred when connecting to SMTP server, :016-764"