You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thank you for this great module. Until now, it has provided a useful support.
Unfortunately, all the examples I have seen so far (even from the API documentation) show only how to attach TEXT FILES or a GIF IMAGE into an html email. What I want to do in short:
My application receives an email and extracts its attachments. After deciding what to do, some of these attachments (PDF, text, image,...) are to be forwarded to various revipients using the pyzmail module. But I can not figure out how to correctly tell the compose_mail() function how to do this. Here is my code so far:
Hi,
thank you for this great module. Until now, it has provided a useful support.
Unfortunately, all the examples I have seen so far (even from the API documentation) show only how to attach TEXT FILES or a GIF IMAGE into an html email. What I want to do in short:
My application receives an email and extracts its attachments. After deciding what to do, some of these attachments (PDF, text, image,...) are to be forwarded to various revipients using the pyzmail module. But I can not figure out how to correctly tell the
compose_mail()
function how to do this. Here is my code so far:For example:
I have these three files within my folder
/home/temp/
:How would I design the
attachment
part of thecompose_mail()
function to successfully get these files to the desired receiver?Thank you in advance.
The text was updated successfully, but these errors were encountered: