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: 
tmraman
Contributor
Contributor

Failed to send Email for user

Failed to send Email for user, Error AuthentucationInvalidCredentials: 5.7.139 Authentication Unsucessful, SmtpClientAuthentication is disable for the tenant

Labels (2)
1 Solution

Accepted Solutions
Ruggero_Piccoli
Support
Support

Hi,

When posting a new question on the community, please, invest the time to supply to the readers in the community all the useful information from the first message, including the correct version of the software you are using, the steps to reproduce, screenshots, logs, etc. This will speed up the solution avoiding that the first answer will be the request of the needed details.

This is an issue related to the SMTP server configuration. Qlik NPrinting intercepts the STMP errors and save them on the logs and in the Task Executions page (the one in your screenshot). As first step check the link listed in the error message. Then I suggest you to work together with the SMTP server administrator to be sure it is correctly configured in Qlik NPrinting and that the SMTP server is configured to support the authentication methods supported by Qlik NPrinting. Before emailing reports via publish tasks you must be able to correctly receive the test email that can be sent from the SMTP settings page. 

Best Regards,

Ruggero



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.

View solution in original post

4 Replies
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

1 - upgrade to supported version your NPrinting server - 17.1 old is old and no longer supported

2. - talk to your mail server admin as the error you see is related to configuration of your smtp settings in nprinting admin console and possibly also configuration of smtp settings itself: https://help.qlik.com/en-US/nprinting/May2021/Content/NPrinting/AdministeringQVNprinting/Set-up-emai...

Have you done steps from the above link? if you did - are you able to send test message?

cheers

Lech

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.
tmraman
Contributor
Contributor
Author

Hi Lech,

 

Thanks for reverting,

I have installed Qlik NPrinting May 2021 SR4 Version: 21.14.8.0 and configured as per the link provided. But the error is thrown. 

Our environment is

  • 1. Installed Windows Server 2016 Standard Evaluation Version and Office 365 on VmWare.
  • 2. Qlik NPrinting May 2021 SR4 Version: 21.14.8.0
  • 3. Our Domain is with GoDaddy
  • 4.  Mail Configuration is at Office 365
  • VM is at UK and we connect using VPN and Meraki firewall.

I have attached two screenshots on error and errorlog, where errorlog says "ERROR: AuthenticationInvalidCredentials: Authentication Unsuccessful, SmtpClientAuthentication is disabled for the Tenant"

As per the link provided in the log file I have now enabled the "Authenticated SMTP" in Office 365 Admin Center but the same error continues. 

What other checks or configurations are missing.

 

Regards,

Muthuraman

Ruggero_Piccoli
Support
Support

Hi,

When posting a new question on the community, please, invest the time to supply to the readers in the community all the useful information from the first message, including the correct version of the software you are using, the steps to reproduce, screenshots, logs, etc. This will speed up the solution avoiding that the first answer will be the request of the needed details.

This is an issue related to the SMTP server configuration. Qlik NPrinting intercepts the STMP errors and save them on the logs and in the Task Executions page (the one in your screenshot). As first step check the link listed in the error message. Then I suggest you to work together with the SMTP server administrator to be sure it is correctly configured in Qlik NPrinting and that the SMTP server is configured to support the authentication methods supported by Qlik NPrinting. Before emailing reports via publish tasks you must be able to correctly receive the test email that can be sent from the SMTP settings page. 

Best Regards,

Ruggero



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

Further to Ruggero's point, please see the following article for a full list of possible reasons your email is not sent.

Kind regards...

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