Skip to main content

a program that sends emails in one line

Project description

mail-sending-program 1.5

PyPI GitHub GitHub Workflow Status (with event) Downloads

a program that makes it really easy to send emails and read emails with python

sections

install

pip install mail-sending-program

update

pip install --upgrade mail-sending-program

uninstall

pip uninstall mail-sending-program

examples:

1 sending a html email to one person:

import gmail_sender as g 
g.send_html_gmail_to_one(email_name,password_for_gmail , to, subject, content_html, write)
# or if you want to use a template use 
g.send_html_gmail_to_one(email_name,password_for_gmail , to, subject, load_template(filename), write)

2 sending plain text gmail to a person:

import gmail_sender as g 
g.send_gmail_to_one(email_name,password_for_gmail , to, subject, content)

3 send html gmail to many people:

import gmail_sender as g 
send_html_gmail_to_people_in_list(email_name,password_for_gmail , to(list), subject, content_html)
# or if you want to use a template use 
g.send_html_gmail_to_one(email_name,password_for_gmail , to, subject, load_template(filename), write)

4 send plain text gmail to many people:

import gmail_sender as g 
g.send_gmail_to_people_in_list(email_name,password_for_gmail , to(list), subject, content)

5 send random letters with caps lock to someone:

import gmail_sender as g 
g.send_random_message_no_word_meaning_caps_lock(email_name,password_for_gmail , to, subject, letters)

6 random letters with caps lock to many people:

import gmail_sender as g 

g.send_random_message_no_word_meaning_caps_lock_to_many(email_name, password_for_gmail  ,to list, subject ,lettrs):

7 send random lower case letters someone:

import gmail_sender as g 
g.send_random_message_no_word_meaning_lower_case(email_name,password_for_gmail , to, subject, letters)

8 send random lower case letters to many people:

import gmail_sender as g 
g.send_random_message_no_word_meaning_lower_case(email_name, password_for_gmail  ,to list, subject ,lettrs)

9 read email:

import gmail_sender as g 
email = g.read_email(email_name, password_for_gmail, org)
print(email)

10 send gmail with attachment:

import gmail_sender as g
g.send_attachment_with_regular_body(email_name, password_for_gmail, to, subject, content, path_to_file, write)

11 send gmail with attachment:

import gmail_sender as g
g.send_attachment_with_html_body(email_name, password_for_gmail, to, subject, content_html, path_to_file, write)
# or if you want to use a template use 
g.send_html_gmail_to_one(email_name,password_for_gmail , to, subject, load_template(filename), write)

inputs in a function

input name explanation
email name your email name
password_for_gmail your email password
to to wich email address you want to send the email
to(list) a list of people to send to
subject emails subject
content emails content
letters how many letters do you want in the email
content_html emails html content
load_template(filename) load a html template and instead of filename use your html template
path_to_file path yto the file you want to attach
write if you want to write your email in a file called gmail.txt set as yes if not dont fill it

updates

there is nothing planned if you are interested in a feature contact me with issues

latest update

1.5

  1. make an auto sending bot to send email at any time you want to whoever you want

  2. adding ways to make a template file other than html

  3. bug fixes

to my github click here

to the pypi page click here

if there are any bugs please report

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

mail_sending_program-1.5.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mail_sending_program-1.5-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file mail_sending_program-1.5.tar.gz.

File metadata

  • Download URL: mail_sending_program-1.5.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for mail_sending_program-1.5.tar.gz
Algorithm Hash digest
SHA256 b7caa4f7f61901c95d945d9ed883fbc279c609cbf3388b5c6f77b3949e4311f5
MD5 3a2f147c5bb394c1f609953ffcf3ee4c
BLAKE2b-256 0342654f5107bec8a0d33fa7481b560288e4cf0d6ff6dcccbc03f7cf9acbf0db

See more details on using hashes here.

File details

Details for the file mail_sending_program-1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for mail_sending_program-1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 18da550e62f933b183c371bfe57221e13bde7a0f70a662b7737d9663309b2590
MD5 5f650e0167372953307b881143cdf73d
BLAKE2b-256 1f06ffe5676dbf99f51d0d78d17f26336bfa16e89527e9bcd17efc584e80afd3

See more details on using hashes here.

Supported by

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