Download & Extend

Wordwrap in From header value causing not sending email

Project:Mime Mail
Version:6.x-1.0-alpha4
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (cannot reproduce)

Issue Summary

I'm using Simplenews + Mimemail and the emails was not be sending.

I analyzed the source code and saw in mimemail.inc (line 33) that values of headers are wrapped with newlines to 50 characters.

So, when we have a long From header value, like this:

Long name of the awesome newsletter

It is wrapped to some like this:

Long name of the awesome newsletter

This causes the not sendind of email, but with no errors reporting!

PS: sorry my poor english.

Thanks

Comments

#1

Oh, my emails was removed from the filter. Sorry.

...

So, when we have a long From header value, like this:

Long name of the awesome newsletter <from.email.address@mydomain.com>

It is wrapped to some like this:

Long name of the awesome newsletter
    <from.email.address@mydomain.com>

#2

That is what we call folding and according to RFC 822 this should be okay. See the section about the long header fields. I think just the folding can't be the issue and there should be something else. Maybe in some cases this process in the module breaks some headers but we need more information to see that.

Please provide more information and instructions how to reproduce.

#3

Status:active» closed (cannot reproduce)

Cannot reproduce and no follow up, closing issue.

nobody click here