This Module help you to send fast Email.🌸
Project description
Description
This Module help you to send fast Email.
And you can attach image, audio, and other files easily.
The Module support Gmail right now, but in the nearly future will support other mail services.
Installation:
pip install quick-mailer
Usage:
Send Message
from mailer import Mailer
mail = Mailer(email='someone@gmail.com',
password='your_password')
mail.send(receiver='someone2@gmail.com',
subject='First Message',
message='Hello This Message From Python')
Check Send Status
# Uaing (status) Variable
print(mail.status)
# Example:
if mail.status:
pass
else:
pass
Parameters
receiver: Email Address [Recuired]
subject: Message Title [Optional]
message: Your Message [Optional]
image: Image File Name [Optional]
audio: Audio File Name [Optional]
file: File Name [Optional]
Send Multi Files
mail.send(receiver='someone@gmail.com',
subject='Test Module',
message='Hello This Message From Python!',
image='img.jpg',
audio='sound.mp3',
file='file.zip')
About
# You Can Use (mail.about) Function for more info.
mail.about()
Follow Me on Instagram: @9_Tay.
Thank You :)🌸
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
quick-mailer-0.0.4.tar.gz
(3.9 kB
view hashes)