Help get this topic noticed by sharing it on
Twitter,
Facebook, or email.
Twitter,
Facebook, or email.
Get original to/cc/from email addresses from a forwarded email
Is there any way to get the original To/CC/From email addresses from a forwarded mail using the API Parse process?
-
Thats a pretty tough question to answer. Forwarded messages come in a couple of different varieties, and since there is no standard its hard to code something that would get every case. There is nothing on our end that can provide this for you, but I'd be happy to make some suggestions on how you could find it in the data that is posted.
Regards,
Tim -
-
Tim,
That would be great if you have any ideas, tools, snippets, I would appreciate it. -
-
I've looked at a few examples of forwarded messages, and most of them have some format like
(some dashes) some text (some dashes)
Followed by whatever headers they'll send, such as subject, from, to, cc
That block will end in an empty newline (in a text/plain message)
So you could look for something like that, and if you find it and the next few lines contain subject, to, from, etc, you'll know you got the values.
That should cover 90% of what forwarded messages look like. The hard part will be if a message has no text portion, you will run into a much harder time parsing for those fields in an html body.
Hope this help, let me know if you do have any questions or need some examples of forwarded messages for a few providers.
Regards,
Tim -
Loading Profile...





see the change log