Email_Sender
Email_Sender is Python Package For Sending Email Easily. This package is trying to help programmer save time adjusting code for sending email.
Installation
you should have python 3
$ pip3 install email_sender
Usage
email_sender have one base class Mail that used to send email using smtp connection.
Parameters
- email - Required - Email of sender. once you initiate it, it can be used for sending emails
- password - Required if envPath is None
- Password is required if you don't specify the
.envpath - in Most case programmer don't wanna put password as string inside their code for that email_sender module use dotenv. - host - default to 'smtp.gmail.com'
- port - default to 587
- envPath - optional
- envPath expect
python pathlib.Path('.env file location').resolve() - envName - optional default to
password- envName if the name of the password in the.envis another name.
Example
from email_sender.mail import Mail
from pathlib import Path
senderEmail = 'sender@gmail.com
receiverEmail = 'receiverEmail@gmail.com'
mail = Mail(senderEmail, envPath=Path('.env'), envName='cha')
message = '''\
Subject: Testing Emails
This is testing email message
'''
mail.send_email(receiverEmail, message)
Clone
if you want to clone and use the repo use the requirement.txt file
pip3 install -r requirements.txt
About Developer
My Name is Temking Mengistu . I am Student at Adama Science and Technology University in field of Computer Science and Engineering. Follow me on
©chapimenge 2020
Metadata
Release files for py-send-e-mail 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| py-send-e-mail-0.1.tar.gz | 3.3 kB | Without provenance | Details for py-send-e-mail-0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| py_send_e_mail-0.1-py3-none-any.whl | Python 3 | none | any | Details for py_send_e_mail-0.1-py3-none-any.whl |
Total release size: 11.0 kB
Release files / py-send-e-mail-0.1.tar.gz
| Download URL | py-send-e-mail-0.1.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c609883616b967d16caf9b1feb2825c1bb7769bc1ca4d775ca653821f53546c5
|
|
BLAKE2b-256 checksum How to use checksums |
f99bee652f4991aaef8fb6294b020db625fe8d75c04708645372dc8c6e56ec29
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5
|
Release files / py_send_e_mail-0.1-py3-none-any.whl
| Download URL | py_send_e_mail-0.1-py3-none-any.whl |
|---|---|
| Size | 7.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f125c5e4c652a7a23658ca23ceda1c6fb02d67154edb68aa0fc6c277db0d6dcc
|
|
BLAKE2b-256 checksum How to use checksums |
3f412a6fdf39957ba7628cf47babe23cf6116d95255fa75b16f96f012697d028
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5
|
Security for py-send-e-mail 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.