-
Notifications
You must be signed in to change notification settings - Fork 85
Open
Description
Hello,
I try to send local PDF files but isn't work,
with open(src_pdf, 'rb') as f:
pdf_file = f.read()
attachments = [
("my_pdf_file.pdf", pdf_file, 'application/pdf')
]
pm = PMMail(
to=user_mail,
bcc=pmBCC,
sender=pmSender,
template_id=email_template_id,
template_model=template_model,
api_key=pmApiKey,
attachments=attachments,
tag=pmTag)
pm.send()
do you know what is wrong?
Thanks
Metadata
Metadata
Assignees
Labels
No labels