#๐Ÿ”’ Attachments Emails via Python

11 messages ยท Page 1 of 1 (latest)

visual pike
#

I am trying to attach image files to an email, i have it working but if i have more than 1 file, it keeps sending the previous attachments with the new attachments

fallow meteorBOT
#

@visual pike

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

visual pike
#

that is the output, i tryna have it so elon gets sent in one email, then the next email speed is being sent, and not elon and speed in the second email

#

if that makes sense

#

i have a feeling its on like 66 and 69 when we are attaching the file onto the msg, the msg is not getting cleared but appended to always

#

i got it working i just moved the msg object that i created into the for loop and it worked

#

!close

fallow meteorBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.