Closed jongerli closed 2 years ago
@jongerli what is your conf for sending email? PHP Mail, SMTP/SMTPS or Swiftmailer?
We use SMTP for e-mailing in Dolibarr. We tried several and all gave the same result.
Is this topic solved? I have the same problems but I can't see further notices on this topic. Noob, sorry
Hello,
Could you check with V13 ?
Thanks. I will.
Fred
Verzonden vanuit Outlook Mobilehttps://aka.ms/blhgte
From: ksar notifications@github.com Sent: Thursday, February 25, 2021 5:38:48 PM To: Dolibarr/dolibarr dolibarr@noreply.github.com Cc: fredso68 fb_jur@hotmail.com; Comment comment@noreply.github.com Subject: Re: [Dolibarr/dolibarr] 550 Maximum line length exceeded when sending emails (#13510)
Hello,
Could you check with V13 ?
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/Dolibarr/dolibarr/issues/13510#issuecomment-786036662, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASDXCMYOYNQJI6GUYHE5E7TTAZ4JRANCNFSM4MCLFAPQ.
I have been testing the issue with Dolibarr version 13.0.1 on our demo instance and it seems to work correct now. Tested mailservers:
Due to practical reasons I was not able to test with the server mx1.cab-solutions.de. But I think the issue can be closed.
@Fred: Can you test please?
Hi Theo,
I will.
Fred
Verzonden vanuit Outlook Mobilehttps://aka.ms/blhgte
From: Theo jongerling notifications@github.com Sent: Sunday, February 28, 2021 4:55:41 PM To: Dolibarr/dolibarr dolibarr@noreply.github.com Cc: fredso68 fb_jur@hotmail.com; Comment comment@noreply.github.com Subject: Re: [Dolibarr/dolibarr] 550 Maximum line length exceeded when sending emails (#13510)
I have been testing the issue with Dolibarr version 13.0.1 on our demo instance [https://try.dolibar.nl] and it seems to work correct now. Tested mailservers:
Due to practical reasons I was not able to test with the server mx1.cab-solutions.de. But I think the issue can be closed.
@fredhttps://github.com/fred: Can you test please?
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/Dolibarr/dolibarr/issues/13510#issuecomment-787473781, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASDXCM2XDWNZKW2S3LWX7ZDTBJRP3ANCNFSM4MCLFAPQ.
After some more testing on version 13.0.2 by Fred and me we still encounter the same error: Remote host said: 550 Maximum line length exceeded (see RFC 5322 2.1.1). Problem not solved yet.
This issue is stale because it has been open 1 year with no activity. If this is a bug, please comment to confirm it is still present on latest stable version. if this is a feature request, please comment to notify the request is still relevant and not yet covered by latest stable version. This issue may be closed automatically by stale bot in 10 days (you should still be able to re-open it if required).
Hi, I am having te same behaviour on Dolibarr 17.0.
Is there any workarround to solve this problem?
Thanks
Example:
This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed:
xxx@xxx.com host mx10.profesionalhosting.com [212.63.111.240] SMTP error from remote mail server after end of data: 550 Maximum line length exceeded (see RFC 5322 2.1.1).
Reporting-MTA: dns; inti.informaticabcn.com
Action: failed Final-Recipient: rfc822;xxxx@xxxx.com Status: 5.0.0 Remote-MTA: dns; mx10.profesionalhosting.com Diagnostic-Code: smtp; 550 Maximum line length exceeded (see RFC 5322 2.1.1).
And also from release Dolibarr 16.0.4. I see the same issue.
Solution is probably to remove the image when this problem occurs....
Instructions
This is a template to help you report good issues. You may use Github Markdown syntax to format your issue report. Please:
Bug
550 Maximum line length exceeded when sending emails
Environment
Expected and actual behavior
When sending an email from Dolibarr one has the ability to add a signatue and a company logo to it. The email is accepted by the mailserver of the receiver of the email.
Steps to reproduce the behavior
Some emailservers reject the email from Dolibarr because of the length of the image (bas64) which is in the signature. So a lot of servers work fine but some of them give the error message: i.e. this server returns an error host mx1.cab-solutions.de [38.128.97.252] SMTP error from remote mail server after end of data: 550 Maximum line length exceeded (see RFC 5322 2.1.1). This behaviour sometimes occurs with specific mailservers.
Is there a way to work around this problem or must one reduce the seize of the image in the signature in Dolibarr to comply with the length of the line (max 500)?]
Attached files (Screenshots, screencasts, dolibarr.log, debugging informations…)