Open skoobasteeve opened 2 years ago
Awesome, thanks a lot for your work! I'll soon give it a try!
@kootenpv https://github.com/kootenpv/yagmail/blob/53923432d75bca3048365f5ae3680656081dd137/yagmail/message.py#L118 Probably need to ensure it will acceptably pass under this umbrella.
or maybe needs decoupling to get access to message. https://github.com/kootenpv/yagmail/blob/master/yagmail/message.py#L70
I don't know. I'm trying to find a way to access the prepare_message() and it's too encapsulated. I'm getting sucked into this issue, but don't have the time to really break this apart.
This PR addresses issue #224 by adding an attachment header to images in the
attachments
list. Images will still display inline ifyagmail.inline()
is used.I tested this in the master branch and everything worked as expected, but let me know if this causes any other problems for you. Sample header:
Thank you for all your work!