-
Notifications
You must be signed in to change notification settings - Fork 937
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
Problems trying to Parse -> Deliver an existing mail #79
Comments
I would say your method of doing it above is probably not the best way. Better instead fo read in the mail message, then perform actions on it:
Please let me know if this fixes it. |
Hi Mikel, unfortunately the script you posted didn't worked. I tried it even before opening the issue (see the beginning of the issue body), |
Can you send me the original emails? Send to my Gmail account: raasdnil. Mikel |
I tried again the suggested script with the latest Mail version
and I'm not receiving this error.
I'm sending you the email. |
hi I get the same problem as wepps , but I use deplayed_job to send the email .the error ouput is : I don't know why? maybe timeout or others? |
It's possible to redeliver emails, but it takes some finesse. Changing the Your best bet is to leave the message entirely as-is, but send it out in a different SMTP envelope. That means changing the envelope's |
Here's the scenario. I have a .eml file containing a received email. I'd like to be able to parse the email and re-deliver it to an arbitrary email address.
The following code doesn't work
No errors, it simply doesn't deliver the email. I guess the existing headers cause some kind of conflict because the following workaround seems to work
However, with the following code (and a few other variants) I'm experiencing a really weird behavior. When the email is received, it looks like different compared to the original one. It seems that
Mail
adds some extra-stuff to the body parts causing mail clients (such as Gmail) to render the content in a different way.For instance, if the email contains two parts (a text part and an attachment), the final email is rendered as the text part would be a second attachment.
See http://twitpic.com/21sqgs vs http://twitpic.com/21sqh8
Any idea?
I can also send you via email the two email sources (the original one and the clone), if you need them.
The text was updated successfully, but these errors were encountered: