https://github.com/merrychap/smtp
:mailbox: SMTP protocol implementation
https://github.com/merrychap/smtp
attachment protocol recipients smtp smtp-client smtp-protocol
Last synced: 2 months ago
JSON representation
:mailbox: SMTP protocol implementation
- Host: GitHub
- URL: https://github.com/merrychap/smtp
- Owner: merrychap
- Created: 2016-11-11T13:35:00.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-12-15T16:36:50.000Z (over 8 years ago)
- Last Synced: 2025-01-21T20:48:29.163Z (4 months ago)
- Topics: attachment, protocol, recipients, smtp, smtp-client, smtp-protocol
- Language: Python
- Homepage:
- Size: 43.9 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SMTP Implementation
### General description
This is smtp protocol implementation### Requirements
- Python 3.*### Arguments for running
Argument | Description
-------- | -----------
--fromaddr | "From" address for an email
--passwd | Password from "From" account for sending
--toaddrs | List of "To" addresses for an email
--subj | Subject of an email
--server | SMTP server for sending an email
--msg | Text of message
--dis-enc | Disable encryption
--attach | Attachments for an email
--archive | Archives all attachments to an archive### Distribution mode
There are 3 modes of email distribution
- 1: For different recipients there are different instances of message
- 2: One message instance for all recipients
- 3: Custom mode. There you can specify different groups of distribution. For example, (1 2) (3 4). It means that there are 2 instances of message. By one for each group.### How to send email?
```sh
$ python3 smtp_console.py [--keys ...]
```
If you didn't specify keys for running then you will be asked to input them### Already done
- [X] Sending text emails
- [X] Email with attachments
- [X] Enable/disbale encryption
- [X] Automatic archiving attachments
- [X] Different distribution modes