HI THERE , I am facing an issue of email sending error , it shows ::
:Apitron.PDF.Kit.ErrorHandling.DocumentSaveException: Apitron.PDF.Kit.ErrorHandling.DocumentSaveException: Exception of type 'Apitron.PDF.Kit.ErrorHandling.DocumentSaveException' was thrown.
at Apitron.PDF.Kit.FlowDocument.Write (System.IO.Stream outputStream, Apitron.PDF.Kit.FixedLayout.Resources.ResourceManager resourceManager, Apitron.PDF.Kit.FixedLayout.PageProperties.PageBoundary boundary, Apitron.PDF.Kit.PdfStandard pdfStandard) [0x000a1] in <81235a64568e4af3ac0ee7872ed959f5>:0
at ManagerServer.PdfConverter.ConvertHtmlToPdf (System.String input, System.IO.Stream output, Apitron.PDF.Kit.FixedLayout.PageProperties.PageBoundary pageBoundary) [0x004d7] in :0
at ManagerServer.HttpHandlers.Businesses.Business.Email.Post () [0x001f2] in :0
I tried to update the latest version, updated but still the same; I tried to delete my business logo, it doesn’t work too. any expert can help with this? really appreciate!
I’m getting the following error when trying to email invoices.
Using SSL port 587.
System.IO.IOException: System.IO.IOException: The handshake failed due to an unexpected packet format.
at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, 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 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.Mail.SmtpConnection.Flush()
at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
at System.Net.Mail.SmtpClient.GetConnection()
at System.Net.Mail.SmtpClient.Send(MailMessage message)
Hi there. I had the same problem. Here’s how to resolve it.
Your settings on your Manager are fine. Just change settings for your smtp encryption on your mail client to “auto” instead of “ssl/tls” then it should work.
Hi, I’m using Manager for a few years now. And I love it. Since last week I have the same problem. I didn’t change anything in my settings and updated my desktop edition twice meanwhile (second time today). It didn’t solve the problem. Same problem when creating pdf, different error code (NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object at). I can print and also produce a pdf from the print button. This helps to send my quotes to customer (oh I didn’t mention so far the problem is by sending quotes). Invoice sends fine. Thank you so much for help. Annette
Hi @lubos, I just upgraded to the last version 18.9.94 and still can’t send emails from quote. error msg is: Apitron.PDF.Kit.ErrorHandling.DocumentSaveException: Apitron.PDF.Kit.ErrorHandling.DocumentSaveException: Exception of type ‘Apitron.PDF.Kit.ErrorHandling.DocumentSaveException’ was thrown.
at Apitron.PDF.Kit.FlowDocument.Write (System.IO.Stream outputStream, Apitron.PDF.Kit.FixedLayout.Resources.ResourceManager resourceManager, Apitron.PDF.Kit.FixedLayout.PageProperties.PageBoundary boundary, Apitron.PDF.Kit.PdfStandard pdfStandard) [0x00096] in :0
at ManagerServer.PdfConverter.ConvertHtmlToPdf (System.String input, System.IO.Stream output, Apitron.PDF.Kit.FixedLayout.PageProperties.PageBoundary pageBoundary) [0x00561] in <6948bfde76d744b2b5a144f30bf65cdf>:0
at ManagerServer.HttpHandlers.Businesses.Business.Email.Post () [0x001f2] in <6948bfde76d744b2b5a144f30bf65cdf>:0
Sorry, any thoughts?