Qlik Community

Qlik NPrinting Discussions

Discussion Board for collaboration on Qlik NPrinting.

lauranvh
New Contributor III

Nprinting 17.2.1 Sending emails doesn't work

In my test environment virtual machine (Win Server 2012 R2 standard with Sense 3.0.4 & Nprinting 17.2.1 (NPrinting 17.2.2 installed. This didn't fix the problem) (Network settings: NAT)) I can't send emails to my QNP users. I tried to use the gmail SMTP server with TLS. But i get an error in the Nprinting scheduler log.

The distribution of the report to the QS hub and QNP Newsstand both work.

I use Google Chrome as the browser application.

The QNP service account has RootAdmin, DeploymentAdmin and ContentAdmin rights.

The QNP User has user access to QS.

The virtual machine has access to the internet.

Edit: I made a new gmail account to test this out. But it didn't work. I get the same warning. I cleaned up the log files and found a problem that i haven't seen before. I'll post them here. So there are some arguments that could not be parsed and a heartbeat warning. I'll attach the complete logfile.

Qlik.NPrinting.Scheduler17.2.2.0Qlik.NPrinting.Scheduler.SchedulerHttpService20161229T101857.616+01:00ERRORQLIKTEST_QNPQS00000000

Some arguments could not be parsed.

Qlik.NPrinting.Scheduler17.2.2.0Qlik.NPrinting.Scheduler.SchedulerCore20161229T101942.732+01:00WARNQLIKTEST_QNPQS00000000Engine e95852da-2eda-47fb-8e5c-c8c32f3e9ae4 has reached heartbeat timeout. Last recorded heartbeat: 12/29/2016 9:19:23 AM - Offline thresold: 00:00:15 ms

Could someone help me. Thanks in advance.

If more information is needed please leave a comment and i will try to add it to this post.

Nprinting Scheduler log error

ERRORQLIKTEST_QNPQSNprinting Task Identity00000000Failed to send e-mail for bucket eadf1e98-f84f-43fb-b2bc-868a484a68df.Failure sending mail.

SMTP settings

Problemen.png

User settings


This user has User & Newsstand user Roles

Problemen2.png

Het bericht is bewerkt door: Lauran van Hoek Qlik NPrinting 17.2.2 is installed but didn't fix the problem.

Het bericht is bewerkt door: Lauran van Hoek

1 Solution

Accepted Solutions
lauranvh
New Contributor III

Re: Nprinting 17.2.1 Sending emails doesn't work

Hello Daniel,

Thank you again for the reply. This didn't work on the machine i was working on. When i tried on a private computer it did work. I did some asking inside our organisation and the problem is our firewall and virusscan software. The SMTP signal gets blocked by the software and / or firewall.

Thank you for your replies about this problem.

10 Replies
Employee
Employee

Re: Nprinting 17.2.1 Sending emails doesn't work

Hi Lauran,

Can you test outside of NPrinting and confirm that your SMTP settings are correct? Here is one way to do that: PowerShell Script to test SMTP settings

HTH - Daniel.

gs_victa_nl
Contributor

Re: Nprinting 17.2.1 Sending emails doesn't work

Hi Lauran,

Which email address did you use at the "Default sender email"? Is the same as the one in the "Username" field?

Kind regards,

Gerald

lauranvh
New Contributor III

Re: Nprinting 17.2.1 Sending emails doesn't work

Hello Daniel,

Thank you for your reply. I did the test as mentioned in your linked post and with run as administrator.

I think it came out to be the same failure as in the log file. What would be the next step to take from here?

SMTP test.png

Edit: I tried the same actions with the smtp server for live (hotmail) SSL enabled and disabled but I get the same error. On ps1: 36 char 9 failure sending mail.


Edit2: I tried this on my computer (so not in the VM) and this fails as well. Could this be my network? I'll try this out at a different location.


Edit3: I tried this on a different location and it still doesn't work. I'm running out of options that i can think of myself.

Kind regards,

Lauran

lauranvh
New Contributor III

Re: Nprinting 17.2.1 Sending emails doesn't work

Hello Gerald,

Thanks for your reply.

I checked it and it is the same.

Kind regards,

Lauran

Employee
Employee

Re: Nprinting 17.2.1 Sending emails doesn't work

Hi Lauran,

First check that "Allow less secure apps" is set to "ON": Nprinting, email settings SMTP error. | Qlik Community

If the script still fails check that you can telnet to smtp.gmail.com on port 587? You might need to install the Telnet Client feature first. On Windows Server 2012 R2:

I get

HTH - Daniel.

rogerioalmeida
Contributor

Re: Nprinting 17.2.1 Sending emails doesn't work

Hello Lauran,

I'm having the same problem, have you solved the problem yet? Plx help

Thanks

lauranvh
New Contributor III

Re: Nprinting 17.2.1 Sending emails doesn't work

Hello Daniel,

Thank you again for the reply. This didn't work on the machine i was working on. When i tried on a private computer it did work. I did some asking inside our organisation and the problem is our firewall and virusscan software. The SMTP signal gets blocked by the software and / or firewall.

Thank you for your replies about this problem.

lauranvh
New Contributor III

Re: Nprinting 17.2.1 Sending emails doesn't work

The SMTP traffic got blocked by the firewall or the virus scan software. Try again with your virus scan software disabled. Otherwise it could be the software or hardware firewall.

sivan_limonic
New Contributor

Re: Nprinting 17.2.1 Sending emails doesn't work

I have the same problem now... what can I do bout it ???

Community Browser