A simple library to centralize VJBots e-mails sendings.
Project description
VJMail
A simple library to centralize VJBots e-mails sendings to the controller.
Installation
pip install vjmail
Usage
Here is an example of how to use the EmailSender class:
from vjmail import EmailSender
# Configure the email sender with your SMTP server details
email_sender = EmailSender(
smtp_server='smtp.example.com',
username='your_email@example.com',
password='your_password',
smtp_port=587 # Optional, can be omitted if not required
)
# Send an email
email_sender.send_email(
from_addr='your_email@example.com',
subject='Test Email',
body='This is a test email sent using EmailSender library.',
to_add='another@gmail.com' # Optional. If it is an Alert to the Controller (VJBots2023), can be ommited
)
License
This project is licensed under the MIT License - see the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
vjmail-1.1.tar.gz
(2.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
vjmail-1.1-py3-none-any.whl
(2.6 kB
view details)
File details
Details for the file vjmail-1.1.tar.gz.
File metadata
- Download URL: vjmail-1.1.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
504f8cf760e04a8fafb7f2ef0da59aea749b4d5113eb082a572ce14e2a271bfe
|
|
| MD5 |
ed2655c1d0270a2e4febfee8b2ba4619
|
|
| BLAKE2b-256 |
423fafa52ae62ba9b315f4ce0a78148932d405558fce8ad9ed69a153b11f20b0
|
File details
Details for the file vjmail-1.1-py3-none-any.whl.
File metadata
- Download URL: vjmail-1.1-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89991e65b2a09f4116d459a9b92ef3825f6edbcc34cde61fc0b1400a2c9f55aa
|
|
| MD5 |
2d8526128b5a492dcff2db9a43cc4f80
|
|
| BLAKE2b-256 |
bec4472cc46b8f82151f8a4807b2e5dd191c4dc0b3b78ce85f785b2fce76d006
|