Skip to main content

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 mail, together with other mailing operations things like, mail with file, tokens etc.

Simple use of kyaah

First we recommend creating a virtual environment python3 -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). 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)

python3 test.py

See more documentations here!

Useful links

Pull requests are welcome

Change Log

0.1.8 (08/april/2023)

  • 0.1.8 Release

This release mostly is for adding more documentations.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kyaah-0.1.8.tar.gz (9.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page