Kyaah abstract away cognitive over-head of sending SMTP mail, together with other mailing operations things like, mail with file, tokens etc.
Project description
Kyaah
Kyaah abstract away cognitive over-head of sending SMTP, POP3, and IMAP mail, together with other mailing operations things like, mail with file, tokens etc.
Simple use of kyaah
First we recommend creating a virtual environment python -m venv venv
and then activate it source venv/bin/activate
Once that finish now install the library using
pip install kyaah
Wait for the installation to finish, basically the library was uploaded using sdist
(Source Distribution) and bdist_wheel
(Built Distribution). After that create a new file let call it test.py
in the file paste the below code with your credentials.
import kyaah
sender = 'my_email@gmail.com'
receiver = ['receiver_1@gmail.com', 'receiver_2@gmail.com']
passwd = '*********' # use app password
server = 'gmail'
subj = f'Hellow world!'
body = 'Lorem ipsum dolor sit amet adipisicing elit, rerum voluptate ipsum volupt.'
kyaah.sendMail(
from_usr=sender, to_usr=receiver, svr=server, subject=subj, body=body, mail_passwd=passwd
)
save the file and navigate to where the file is located in terminal and your are ready to go (run the file)
python test.py
See more documentations here!
Useful links
- Documentation: https://kyaah.readthedocs.io
- Repository: https://github.com/usmanmusa1920/kyaah
- PYPI Release: https://pypi.org/project/kyaah
Pull requests are welcome
Change Log
0.1.13 (16/january/2024)
-
0.1.13 Release
- Add character style print (text & logging style)
- Add POP and IMAP
- Improve files naming slices
- Include email link (with expiration age)
- Changed the a required module of 'pstyle' to 'rgbpy'
-
0.1.12 Release
Docs
- 0.1.11 Release
Docs
- 0.1.10 Release
OS compatibility
-
0.1.9 Release
-
0.1.8 Release
This release mostly is for adding more documentations.
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
Built Distribution
Hashes for kyaah-0.1.13-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e835b715c82c7ee629c589550cfcd383a1b7079fb225e2b5b16db32e845991b |
|
MD5 | 175012815ddbad42448d9d2d12cdf599 |
|
BLAKE2b-256 | 4e530b01f763e08293bc3f5e878a6c1b95c0c77c4c0bff8e7f092f1b85fcbcce |