当サイトはユーザー体験を改善するためのメンテナンスを実施中に機能が制限される予定です。記事を読んでもあなたの問題が解決せず質問をしたい場合は、Twitter の @FirefoxSupport、Reddit の /r/firefox で、サポートコミュニティが皆さんを助けようと待機しています。

Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

Forwarding an email fails with Line length exceeded

  • 1 件の返信
  • 1 人がこの問題に困っています
  • 3 回表示
  • 最後の返信者: Zenos

more options

I'm forwarding emails as attachments, but I get an error: An error occurred while sending mail. The mail server responded: Line length exceeded. See RFC 2821 #4.5.3.1.. Please check the message and try again. The emails appear to be based on HTML forms.

I'm forwarding emails as attachments, but I get an error: An error occurred while sending mail. The mail server responded: Line length exceeded. See RFC 2821 #4.5.3.1.. Please check the message and try again. The emails appear to be based on HTML forms.

すべての返信 (1)

more options

There is a report on bugzilla about this: https://bugzilla.mozilla.org/show_bug.cgi?id=300937

However, looking at that RFC, there are several factors that might generate this error, and it isn't at all clear from the error message you've shown us quite which part of the message has offended the smtp server.

https://tools.ietf.org/html/rfc2821#section-4.5.3.1

I wouldn't be surprised that this happens in association with html. An html encoded document could well be presented as a single long line of text, since its own logical line ends are encoded into it and don't bear any relationship to the "physical" line ends that the smtp server is concerned with.

As an example, the two paragraphs above could be encoded as one long line:

https://tools.ietf.org/html/rfc2821#section‑4.5.3.1 <br>I wouldn't be surprised that this happens in association with html. An html encoded document could well be presented as a single long line of text, since its own logical line ends are encoded into it and don't bear any relationship to the "physical" line ends that the smtp server is concerned with.<br>
But I'm not sure if that's relevant. We can't tell which kind of line has given rise to the error message. :-( It might be the subject or the To: line and nothing to do with the message body.

Can you send these messages via a different smtp server to test if this is an idiosyncrasy of the particular smtp server you have been using?