Tutorial :How do I forward a complete email without downloading attachments?


Hello (and thanks in advance!)

I'm working in Python and I got IMAP and SMTP to work with my Gmail account. I now need to forward select messages to another account (after reading their body).

How do I do this without downloading the attachments and recreating the entire message?




Look at the IMAP and SMTP Lemonade extensions. There is support for forwarding messages without downloading. It's a very new extension, so not many IMAP servers support it yet; I'm not sure if Gmail is one of them.

Section 2 of RFC 4550 contains the technical details on how this works.

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »