Skip to main content
Announcements
Defect acknowledgement with Nprinting Engine May 2022 SR2, please READ HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
GavK
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

GavK_5-1656423932139.png

 

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

GavK_2-1656423355946.png

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

GavK_3-1656423472526.png

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

GavK_4-1656423535244.png

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?

Thanks

 

Gavin

 

 

 

 

 

 

Labels (2)
1 Solution

Accepted Solutions
GavK
Contributor III
Contributor III
Author

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
Frank_S
Support
Support

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.

 

domain\administrator 

 

not

administrator@domain.com

 

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!
Ruggero_Piccoli
Support
Support

Hi,

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 https://help.qlik.com/en-US/nprinting/May2021/Content/NPrinting/AdministeringQVNprinting/Set-up-emai...

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,
Ruggero
---------------------------------------------
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.
David_Friend
Support
Support

@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'

GavK
Contributor III
Contributor III
Author

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