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

How to send images as attachments without embedding them in an email at the end ? #224

Open
Shaclo32 opened this issue Feb 7, 2022 · 1 comment

Comments

@Shaclo32
Copy link

Shaclo32 commented Feb 7, 2022

I want the images not to appear in my email, but to be added as an attachment like other files (exe, php, and so on)
I tried
yag.send(to=recipients, subject='Sending Attachments new', contents=yagmail.raw(mess), attachments=list_attachments)
but the images are still embedded in the email

@kootenpv
Copy link
Owner

Sounds like a bug tbh... don't soon have time to look into it though.

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