Hack Forums
[Python] email and MIME handling package - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [Python] email and MIME handling package (/showthread.php?tid=5928444)



email and MIME handling package - Robin2 - Jan 11, 2019

I started looking for information about email and mime handling package it is very difficult for me to understand even the contents itself in the library. this is the only module i have trouble with...

Before that i learned about the smtplib module and everything went well

but the Email module is different although it's included smtp module for final transfer....

if there is any of u that can help me? tutorial?, pdf?, good explanation may help...

thankx anyway


RE: email and MIME handling package - V For Vendetta. - Jan 11, 2019

You could use the sendgrid API to send emails.


RE: email and MIME handling package - lockhead - Jan 13, 2019

What exactly do you need help with? There are tons of materials out there regarding Python and email handling.

GitHub projects:
https://gist.github.com/turicas/1455741
https://gist.github.com/nickoala/569a9d191d088d82a5ef5c03c0690a02
https://github.com/lavr/python-emails

Python docs:
https://docs.python.org/3/library/email.mime.html
https://docs.python.org/3.4/library/email-examples.html

Stackoverflow:
https://stackoverflow.com/questions/38825943/mimemultipart-mimetext-mimebase-and-payloads-for-sending-email-with-file-atta