Avatar of snoopaloop
Flag for United States of America asked on

HP LaserJet 500 SMTP delivery failure

Hi, I used these settings for my Sonicwall router smtp delivery but they dont work for the HP MFP

Mail Server:  outlook.office365.com




SMTP Failure
Email ServersMicrosoft 365Printers and ScannersHardware FirewallsExchange

Avatar of undefined
Last Comment

8/22/2022 - Mon
Blue Street Tech

Hi snoopaloop,

If I understand you correctly, you are setting up these mail setting in Log > Automation section of your SonicWALL. This section is only for logging purposes for your SonicWALL exclusively. These setting do not setup relays in any other way for other devices in your network. Does that make sense?

If you want to send notification from your printer you need to configure them in the printer settings for mail servers not in the SonicWALL.

To properly setup an SMTP Client Submission for Office 365 the preferred method is to use 587 opposed to 25, enable TLS and the mail server should be smtp.office365.com not outlook.office365.com. Change them and try again!

Also, SMTP transmission can be reduced by disabling IPv6 and DHCPv6 under the Networking tab in your Printer Settings, unless you use IPv6 in your internal network.

Let me know if you have any other questions!

Yes, I understand what the Sonicwall is doing and I know that it is not performing any SMTP relay.  I brought it into the conversation because the SMTP settings that successfully work there, do not work on the HP.  Microsoft support team gave me those configuration settings when I set that up.  Now I have an HP MFP that needs to be some SMTP delivery of messages as well.  Anyway, I tried your suggested settings and I received the same error message...

smtp.office365.com  Port 587
Blue Street Tech

Are you filtering outbound traffic on the SonicWALL? From the screenshot you posted it looks like there is an internal error with the MFP - everything is checked green but the red error at the top says otherwise. That doesn't make sense...it looks like you are connecting to the Exchange server. Make sure the firmware of the MFP is most current.

Office 365 SMTP Client Submission (the preferred method) may not be compatible with that printer. Use the Direct Send method:
Server/smart host: Your MX endpoint, for example, contoso-com.mail.protection.outlook.com
Port: 25
TLS/StartTLS: Enabled
Email address: Any email address for one of your Office 365 accepted domains. This email address does not need to have a mailbox.

You have to modify your SPF record by adding an entry to it below to avoid having messages flagged as spam. If you are sending from a static IP address, add it to your SPF record in your domain registrar’s DNS settings as follows:
SPF: v=spf1 ip4:<Static Public IP Address> include:spf.protection.outlook.com ~all

Also, something to note with this method is that it can only send to users within your organization. If you want to send to users outside your organization you should implement the Office 365 SMTP Relay as noted in the link below.

REF: https://support.office.com/en-us/article/How-to-set-up-a-multifunction-device-or-application-to-send-email-using-Office-365-69f58e99-c550-4274-ad18-c805d654b4c4

Let me know how this goes!
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes

Have you tried tweaking things in the connector settings in O365?
Blue Street Tech

I posted again but no response from you. The more you interact the faster we can resolve this for you!

Not all devices are created equally. Some devices may not support any of these methods proposed by MSFT. You may need to setup IMAP or POP configuration and even then they may not work.

I escalated to Microsoft O365 upper tier level support.  They should call me back either today or tomorrow.
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Blue Street Tech

Thanks for the update. Waiting for your response after they get back to you. Please let us know what they found!
Seth Simmons

No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I have recommended this question be closed as follows:

Not enough information to confirm an answer.

If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.

Experts-Exchange Cleanup Volunteer

View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.

It was the only solution that was correct.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy