Skip to main content
Defect acknowledgement with Nprinting Engine May 2022 SR2, please READ HERE
Showing results for 
Search instead for 
Did you mean: 
Contributor III
Contributor III

Using Office 365 with SMTP Authentication in NPrinting

Has anyone had any success using SMTP via Office 365. We have recently moved our mail server over to Office 365 and have updated the SMTP settings in NPrinting accordingly as per the screen shot below. The "Send Test Email" Works fine here



However, when I run task that distribute reports via email, they are very sporadic ie sometimes they deliver successfully, sometimes they don't.

Below you can see the exact same task ran twice within 20 minutes of each other


Where Task 1, ran  at 10.26am ran fine and emailed successfully


But task 2, ran previously at 10:06am failed


We done lot of troubleshooting, looking at Firewall settings, ensuring correct ports are open etc but due to the inconsistent output results, am unsure of what to try next. Has anyone seen anything similar when using SMTP via office 365?










Labels (2)
1 Solution

Accepted Solutions
Contributor III
Contributor III

Hi guys. Thanks for the help. Turned out to be a firewall/port/IP issue that our network admin guys fixed in the end

View solution in original post

4 Replies

We actually have access to offfice365 smtp and it works successfully.

I checked your settings and they seem ok except for the format of the username.

Use this format and try again.






If this doesn't help it's something you will need to work with your email admin and IT network admin to determine where the issue is.


NPrinting server is basically a simple email client like MS outlooks or Thunderbird etc.

We only required correctly configured SMTP settings to send mail.


Hope the above helps...kind regards..

Please remember hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!


Please check the SMTP anti-spam settings. Maybe there is a maximum number of emails that can be sent in a specific amount of time or a maximum attachments size that is exceeded only sometimes or a maximum number of connections opened by a specific sender. Qlik NPrinting opens a new SMTP connection when an email is ready.

More ideas are here

In the Qlik NPrinting logs you can see it the email was delivered to the SMTP server or if it returned an explicit error message.

Best Regards,
When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads with a LIKE if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads with LIKEs if you feel additional info is useful to others.

@GavK this is an issue that happens not just with Office365 but with Gmail as well, they have policies in place to stop spam etc. and those need to be examined working with your Email Admins to be sure that emails from NPrinting are 'whitelisted'

Contributor III
Contributor III

Hi guys. Thanks for the help. Turned out to be a firewall/port/IP issue that our network admin guys fixed in the end