Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When there is a very long from email does not recognize first line of reply #4

Closed
lfalvarez opened this issue Jul 3, 2013 · 5 comments

Comments

@lfalvarez
Copy link

for example when I send this email from an email like devteam+bf2b64b6e34b11e2aeda1231400178dd@mailit.ciudadanointeligente.org in the first line of the response it adds a newline character between the < and the beginning of the from email. The email ends up being like the following

Estimado Felipe:

La opinión de nuestra campaña es que todos deben ser felices y que dios no
existe.

Muchas gracias por tu interés en nuestra campaña.

Saludos


On 2 July 2013 15:21, <
devteam+bf2b64b6e34b11e2aeda1231400178dd@mailit.ciudadanointeligente.org>wrote:

And currently it is not recognizing that this line should be removed

@roycehaynes
Copy link
Contributor

Hey @lfalvarez! Can you attached the raw e-mail message that you're having trouble with. I'll through it as a test case and figure out whats wrong. Thanks

@lfalvarez
Copy link
Author

hey @roycehaynes! this is the raw email http://pastebin.com/JctWhZeD

@lfalvarez
Copy link
Author

I thought that I could write a test case by adding a new email text file but it parses it correctly. I don't know how to make it fail =/.

@lfalvarez
Copy link
Author

Hey @roycehaynes man! I got it wrong, everything is ok! no bugs or anything to report. If you have the same problem it seems to be the codification so when doing get_payload for the message part it should use decode=True.
Thanks a lot anyways.

@roycehaynes
Copy link
Contributor

@lfalvarez, glad everything worked out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants