Qlik Community

Qlik NPrinting Discussions

Discussion Board for collaboration on Qlik NPrinting.

narender123
Valued Contributor

Send email in Nprinting Version 17.3.0

Hi All,

I am using the version 17.3.1 but I am not getting the email.

I have created app and set task successfully but when i click on run task to send email then it shows successfully task execution but i do not get any email.

\I am using

Smtp.gmail.com

port is 587

TLS is tick

Please see my log files.

1 Solution

Accepted Solutions
lech_miszkiewic
Honored Contributor III

Re: Send email in Nprinting Version 17.3.0

Just to follow up on this:

Formulas for selection i have used : ='Selections: '& PurgeChar(PurgeChar(GetCurrentSelections('  |  ', ': '),CHR(13)),CHR(10))


For title i have used: ='Data presented for period:'&Only(Year)

See screenshots and results:

Template preview - does not have filters!!!!!

np1.png

Template

np0.png

Filters applied on report and executed in PUBLISH TASK

filters.png


np2.png

21 Replies
lech_miszkiewic
Honored Contributor III

Re: Send email in Nprinting Version 17.3.0

Hi Narender,

Is this a differnet case to this?

Trigger is not working in Nprinting 17

narender123
Valued Contributor

Re: Send email in Nprinting Version 17.3.0

Hello Lech,

No that the same one.

As that case was gone too much long so I created here the new one.

Please refer the same case as you mentioned. I have given my reply there.

Please suggest to sort out this issue.

Thank you,

lech_miszkiewic
Honored Contributor III

Re: Send email in Nprinting Version 17.3.0

Hi Narender,

I will test it today with my google account - will see how it goes. Let me get back to you in few hours.

cheers

Lech

narender123
Valued Contributor

Re: Send email in Nprinting Version 17.3.0

Thanks alot Lech.

lech_miszkiewic
Honored Contributor III

Re: Send email in Nprinting Version 17.3.0

Hi

I have tested NPrinting with my priv gmail account - Works without issues.

It works by simply putting in NPrinting email settings following credentials:

  • Name - choose whatever you want
  • address: smtp.gmail.com
  • Port 587
  • Check "Use TLS"
  • Put through you gmail full account name (email)
  • put your password through
  • default sender - put again your gmail full account name (email)

Make sure set your gmail account to "Allow less secure apps" on ON

Remember to put also in publish task some email subject and content, and make sure your recipient has a valid email address.

regards

Lechgmail 3.pnggmail5.png

gmail.pnggmail2.png

narender123
Valued Contributor

Re: Send email in Nprinting Version 17.3.0

Thank you very much Lech.

I am doing the same but no luck.

lech_miszkiewic
Honored Contributor III

Re: Send email in Nprinting Version 17.3.0

are doing it from some company network? maybe behind firewall, or router or proxy?

are you able to use gmail smtp with other programs from this network?

regards

Lech

narender123
Valued Contributor

Re: Send email in Nprinting Version 17.3.0

Hi Lech,

Yes, this server comes under firewall and Mcafee AV.But my network admin did not block the smtp server.

I can open my gmail account from that server browser.

If you know any application to check smtp then let me please.

Thanks,

lech_miszkiewic
Honored Contributor III

Re: Send email in Nprinting Version 17.3.0

Hi,

accessing through web browser is different thing than through port TLS587.

Talk again to your admin. Are you sure that the right port is not blocked. If you are saying SMTP is not blocked maybe your admin meant port 25 which is default for mail?

it is your network issue and has really nothing to do with NPrinting in this case.

Also, see whether in your company there may be internet access policy applied which would have to be also given to NPrinting account?

cheers

Lech

Community Browser