cyanfish / naps2

Scan documents to PDF and more, as simply as possible.
https://www.naps2.com
Other
2.58k stars 315 forks source link

EMail PDF doesn't work anymore #383

Closed EMFAdmin closed 1 day ago

EMFAdmin commented 2 months ago

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.MoveNext(CancellationToken cancellationToken) at async Task GrpcDotNetNamedPipes.Internal.MessageReader+<>c__DisplayClass9_0.b__0(?)+(?) => { } at async Task NAPS2.Remoting.Worker.WorkerServiceAdapter.SendMapiEmail(string clientName, EmailMessage message) at async Task 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 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):

Additional context

Screenshot 2024-05-06 102804

800903 commented 2 months ago

version 7.4.2.0 is work by test

cyanfish commented 1 month ago

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

EMFAdmin commented 1 month ago

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

NextTherapist commented 1 month ago

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?

EMFAdmin commented 1 month ago

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

cyanfish commented 1 day ago

Please try this with 7.4.3.