Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for SMTP #63

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

pankajb64
Copy link

This pull request has code changes to handle a separate SMTP session apart from the existing IMAP session. This allows the user to send mails. Currently, this implementation supports only text messages. Support for HTML and attachments can be added later.

Added code to create an additional SMTP connection which can be used for sending mails.
Added variables and methods to send new mails and reply-to mails via SMTP
Added new MessageFormatError which can be raised if the message requested to be sent by the user does not have a proper format. Currently it is used, if the "to" field in the message class is None.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant