naps2 icon indicating copy to clipboard operation
naps2 copied to clipboard

EMail PDF doesn't work anymore

Open EMFAdmin opened this issue 1 year ago • 5 comments

Describe the bug Since NAPS 7 EMail PDF doesn't work anymore. As Mailclient we use Lotus Notes 9. With Naps 6.1.2 it works without any problems, by clicking on Email PDF a new window opens in Lotus notes and the scanned PDF file is attached to the mail.

With the actual installed version of NAPS (7.4.0.0) an error is shown "An error occured when trying to send the email", with following Technical Details: Grpc.Core.RpcException: Status(StatusCode="Unavailable", Detail="failed to connect to all addresses") at async Task GrpcDotNetNamedPipes.Internal.MessageReader<TMessage>.MoveNext(CancellationToken cancellationToken) at async Task<TMessage> GrpcDotNetNamedPipes.Internal.MessageReader<TMessage>+<>c__DisplayClass9_0.<ReadNextMessage>b__0(?)+(?) => { } at async Task<MapiSendMailReturnCode> NAPS2.Remoting.Worker.WorkerServiceAdapter.SendMapiEmail(string clientName, EmailMessage message) at async Task<MapiSendMailReturnCode> NAPS2.ImportExport.Email.Mapi.MapiDispatcher.SendEmail(string clientName, EmailMessage message) at async Task NAPS2.ImportExport.Email.Mapi.MapiEmailProvider.SendEmail(EmailMessage message, ProgressHandler progress)+(?) => { } at async bool NAPS2.Pdf.SavePdfOperation.Start(string fileName, Placeholders placeholders, ICollection<ProcessedImage> images, PdfSettings pdfSettings, OcrParams ocrParams, EmailMessage emailMessage, string overwriteFile)+(?) => { } [1]

To Reproduce Steps to reproduce the behavior:

  1. select scanned file
  2. Click on 'Email PDF'
  3. See error

Expected behavior The expected behavior is that a new email window opens and the file is attached to it

Screenshots

Desktop (please complete the following information):

  • OS: Windows 11
  • Version 7.4.0.0

Additional context

Screenshot 2024-05-06 102804

EMFAdmin avatar May 06 '24 08:05 EMFAdmin

version 7.4.2.0 is work by test

800903 avatar May 06 '24 09:05 800903

@EMFAdmin Can you confirm if 7.4.2 has the same issue?

cyanfish avatar May 11 '24 01:05 cyanfish

Yes, this version has the same issue. I have tested it with IBM Notes 9 and HCL Notes 12 and the problem is the same as in the screenshot above. With NAPS 6 there are no problems

EMFAdmin avatar May 13 '24 06:05 EMFAdmin

Since NAPS 7 EMail PDF doesn't work anymore.

Yes, it does.

With the actual installed version of NAPS (7.4.0.0) an error is shown "An error occured when trying to send the email"

Which provider did you choose in NAPS2 mail settings? And is Notes your Windows standard app for mailto?

NextTherapist avatar May 14 '24 16:05 NextTherapist

Provider is HCL Notes and Notes is set as standard app for mailto

EMFAdmin avatar May 15 '24 06:05 EMFAdmin

Please try this with 7.4.3.

cyanfish avatar Jul 06 '24 21:07 cyanfish