Unable to setup scan to email on dell 2155cdn to office 365

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 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"
Who is Participating?
kenking1969Connect With a Mentor Author Commented:
Thanks for taking the time to answer. I was hoping more people here would throw out suggestions. This is my first time using Experts Exchange so maybe I just posted this in the wrong category. I am closing this question so that EE doesn't consider it abandoned.
According to this site, office365.com uses port 587 and TLS encryption for SMTP. You need to set your printer for those. The password also needs to be correct for the printer's email address.
kenking1969Author Commented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.