zoom.mail module¶
zoom.mail
email services
-
zoom.mail.send(recipients, subject, message, attachments=None)¶ send an email
-
zoom.mail.send_as(sender, recipients, subject, message, attachments=None)¶ send an email as a specific sender
-
zoom.mail.deliver()¶ deliver mail
-
class
zoom.mail.Attachment(pathname, data=None, mime_type=None)¶ Bases:
objectEmail attachment
provide either a pathname, or a filename and a pathname, or if sending directly a filename and a file-like object.
-
as_tuple()¶ partilars required for delivery
-
read¶ provides a reader for the data
if the data is not open, it will be because the user provided only a pathanme so we open the file at the pathname and return it
-