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: 
arockiyaselvana
Partner - Creator
Partner - Creator

Unable to send email in Nprinting 17.6 (November 2017)

Hi Guys,

I am unable to send email from Qlik NPrinting 17.6 (November 2017) version. I configured all the email settings properly, It is based on GMail. So the Gmail account also have allow less secure apps option enabled. But it when it try to send test mail, Its failing with error message. Below is the log from Scheduler.

Failed to send e-mail message to [abc (at) xyz.com].

ERROR: The remote certificate is invalid according to the validation procedure.. Stack trace:    at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, Exception exception)↓↓   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)↓↓   at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)↓↓   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)↓↓   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)↓↓   at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)↓↓   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)↓↓   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)↓↓   at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)↓↓   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)↓↓   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)↓↓   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)↓↓   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)↓↓   at MailKit.Net.Smtp.SmtpClient.Connect(String host, Int32 port, SecureSocketOptions options, CancellationToken cancellationToken)↓↓   at Qlik.NPrinting.Repo.Service.MailService.<SendEmailAsync>d__4.MoveNext() in c:\Jws\workspace\NP-REL-17.6.0.0-BR-01-build\server\NPrinting\src\Repo\Service\MailService.cs:line 60.

Can you please help me to resolve this issue.

2 Replies
kenphamvn
Creator III
Creator III

Hi

Could you show email config for Qlik NPriting Server? 

Regards

An Pham

arockiyaselvana
Partner - Creator
Partner - Creator
Author

We are configuring GMAIL.

Address: smtp.gmail.com   

Port Number: 587

Use TLS (transport layer security): Enabled

Username: Full user name

Default Sender e-mail: Same as Username