Kyaah abstract away cognitive over-head of sending SMTP mail, together with other mailing operations things like, mail with file, tokens etc.


Keywords
kyaah, email, python
License
MIT
Install
pip install kyaah==0.1.8

Documentation

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.

Downloads Month Badge License Badge Supported Wheel Badge Supported Versions Badge

Installation & Usage

First, you are recommended to create a virtual environment python -m venv venv and then activate it source venv/bin/activate, next 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, simply import the library and set payload, which include sender, receiver, subject, body, and password and lastly call the send method and pass the payload as a keyword just like the sample below:

    import kyaah
        
    payload = dict(
        sender = "sender@gmail.com",
        receiver = ["receiver@gmail.com"],
        subject = "Hellow world!",
        body = "Lorem ipsum dolor sit amet adipisicing elit, rerum voluptate ipsum volupt.",
        password = "*********",
    )

    kyaah.send(credentials=payload)

Note The password to use, is app password, take note that if you use your traditional mail password that you use to login, it won't give access to!

Useful links