mail-sending-program


Namemail-sending-program JSON
Version 1.5 PyPI version JSON
download
home_pagehttps://pypi.org/project/mail-sending-program/
Summarya program that sends emails in one line
upload_time2023-08-07 15:37:26
maintainer
docs_urlNone
authorpy devoleper
requires_python
licenseMIT
keywords python gmail html smtplib auto random
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # mail-sending-program 1.5
<p align="center">
  <img alt="PyPI" src="https://img.shields.io/pypi/v/mail-sending-program">
  <img alt="GitHub" src="https://img.shields.io/github/license/ian-abu/mail-sender-program">
  <img alt="GitHub Workflow Status (with event)" src="https://img.shields.io/github/actions/workflow/status/ian-abu/mail-sender-program/.github%2Fworkflows%2Fcodeql-analysis.yml">
  <a href="https://pepy.tech/project/quote"><img alt="Downloads" src="https://pepy.tech/badge/mail-sending-program"></a>
</p>
a program that makes it really easy to send emails and read emails with python

#

# sections
* [install](#install)  
* [update](#update)  
* [uninstall](#uninstall)  
* [sending a html email to one person](#1-sending-a-html-email-to-one-person)  
* [sending regular gmail to a person](#2-sending-plain-text-gmail-to-a-person)  
* [sending a html email to one person](#3-send-html-gmail-to-many-people)  
* [send plain text email to many people](#4-send-plain-text-gmail-to-many-people)
* [send random caps-lock letters to someone](#5-send-random-letters-with-caps-lock-to-someone)
* [send random caps-lock letters to many people](#6-random-letters-with-caps-lock-to-many-people)
* [send random lower letters to someone](#7-send-random-lower-case-letters-someone)
* [send random lower letters to many people](#8-send-random-lower-case-letters-to-many-people)
* [read your email](#9-read-email)
* [read your email](#9-read-email)
* [send plain text email with attachment](#10-send-gmail-with-attachment)
* [send html email with attachment](#11-send-gmail-with-attachment)
* [inputs in a function](#inputs-in-a-function)
* [updates](#updates)
* [latest update](#latest-update)

# install
```cmd
pip install mail-sending-program
```
#
# update

```cmd
pip install --upgrade mail-sending-program
```
#
# uninstall 

```cmd
pip uninstall mail-sending-program
```
#
# examples:

## 1 sending a html email to one person:
```python
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:
```python 
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:
```python 
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:
```python 
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:
```python 
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:
```python
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:
```python
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:
```python 
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:
```python
import gmail_sender as g 
email = g.read_email(email_name, password_for_gmail, org)
print(email)
```

## 10 send gmail with attachment:

```python
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:

```python
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](https://github.com/ian-abu/mail-sender-program)

# to the pypi page click [here](https://pypi.org/project/mail-sending-program/)

# if there are any bugs please report

            

Raw data

            {
    "_id": null,
    "home_page": "https://pypi.org/project/mail-sending-program/",
    "name": "mail-sending-program",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "python,gmail,html,smtplib,auto,random",
    "author": "py devoleper",
    "author_email": "<mail.program.help@gmail.com>",
    "download_url": "",
    "platform": null,
    "description": "# mail-sending-program 1.5\n<p align=\"center\">\n  <img alt=\"PyPI\" src=\"https://img.shields.io/pypi/v/mail-sending-program\">\n  <img alt=\"GitHub\" src=\"https://img.shields.io/github/license/ian-abu/mail-sender-program\">\n  <img alt=\"GitHub Workflow Status (with event)\" src=\"https://img.shields.io/github/actions/workflow/status/ian-abu/mail-sender-program/.github%2Fworkflows%2Fcodeql-analysis.yml\">\n  <a href=\"https://pepy.tech/project/quote\"><img alt=\"Downloads\" src=\"https://pepy.tech/badge/mail-sending-program\"></a>\n</p>\na program that makes it really easy to send emails and read emails with python\n\n#\n\n# sections\n* [install](#install)  \n* [update](#update)  \n* [uninstall](#uninstall)  \n* [sending a html email to one person](#1-sending-a-html-email-to-one-person)  \n* [sending regular gmail to a person](#2-sending-plain-text-gmail-to-a-person)  \n* [sending a html email to one person](#3-send-html-gmail-to-many-people)  \n* [send plain text email to many people](#4-send-plain-text-gmail-to-many-people)\n* [send random caps-lock letters to someone](#5-send-random-letters-with-caps-lock-to-someone)\n* [send random caps-lock letters to many people](#6-random-letters-with-caps-lock-to-many-people)\n* [send random lower letters to someone](#7-send-random-lower-case-letters-someone)\n* [send random lower letters to many people](#8-send-random-lower-case-letters-to-many-people)\n* [read your email](#9-read-email)\n* [read your email](#9-read-email)\n* [send plain text email with attachment](#10-send-gmail-with-attachment)\n* [send html email with attachment](#11-send-gmail-with-attachment)\n* [inputs in a function](#inputs-in-a-function)\n* [updates](#updates)\n* [latest update](#latest-update)\n\n# install\n```cmd\npip install mail-sending-program\n```\n#\n# update\n\n```cmd\npip install --upgrade mail-sending-program\n```\n#\n# uninstall \n\n```cmd\npip uninstall mail-sending-program\n```\n#\n# examples:\n\n## 1 sending a html email to one person:\n```python\nimport gmail_sender as g \ng.send_html_gmail_to_one(email_name,password_for_gmail , to, subject, content_html, write)\n# or if you want to use a template use \ng.send_html_gmail_to_one(email_name,password_for_gmail , to, subject, load_template(filename), write)\n```\n\n## 2 sending plain text gmail to a person:\n```python \nimport gmail_sender as g \ng.send_gmail_to_one(email_name,password_for_gmail , to, subject, content)\n\n```\n\n## 3 send html gmail to many people:\n```python \nimport gmail_sender as g \nsend_html_gmail_to_people_in_list(email_name,password_for_gmail , to(list), subject, content_html)\n# or if you want to use a template use \ng.send_html_gmail_to_one(email_name,password_for_gmail , to, subject, load_template(filename), write)\n```\n\n## 4 send plain text gmail to many people:\n```python \nimport gmail_sender as g \ng.send_gmail_to_people_in_list(email_name,password_for_gmail , to(list), subject, content)\n```\n## 5 send random letters with caps lock to someone:\n```python \nimport gmail_sender as g \ng.send_random_message_no_word_meaning_caps_lock(email_name,password_for_gmail , to, subject, letters)\n```\n\n## 6 random letters with caps lock to many people:\n```python\nimport gmail_sender as g \n\ng.send_random_message_no_word_meaning_caps_lock_to_many(email_name, password_for_gmail  ,to list, subject ,lettrs):\n\n```\n## 7 send random lower case letters someone:\n```python\nimport gmail_sender as g \ng.send_random_message_no_word_meaning_lower_case(email_name,password_for_gmail , to, subject, letters)\n```\n## 8 send random lower case letters to many people:\n```python \nimport gmail_sender as g \ng.send_random_message_no_word_meaning_lower_case(email_name, password_for_gmail  ,to list, subject ,lettrs)\n```\n## 9 read email:\n```python\nimport gmail_sender as g \nemail = g.read_email(email_name, password_for_gmail, org)\nprint(email)\n```\n\n## 10 send gmail with attachment:\n\n```python\nimport gmail_sender as g\ng.send_attachment_with_regular_body(email_name, password_for_gmail, to, subject, content, path_to_file, write)\n```\n## 11 send gmail with attachment:\n\n```python\nimport gmail_sender as g\ng.send_attachment_with_html_body(email_name, password_for_gmail, to, subject, content_html, path_to_file, write)\n# or if you want to use a template use \ng.send_html_gmail_to_one(email_name,password_for_gmail , to, subject, load_template(filename), write)\n```\n# \n\n# inputs in a function\n\n| input name | explanation |\n|---|---|\n| email name | your email name |\n| password_for_gmail| your email password|\n| to | to wich email address you want to send the email|\n| to(list)| a list of people to send to|\n| subject| emails subject|\n| content| emails content|\n| letters| how many letters do you want in the email|\n| content_html| emails html content|\n| load_template(filename)| load a html template and instead of filename use your html template|\n| path_to_file| path yto the file you want to attach|\n| write| if you want to write your email in a file called gmail.txt set as yes if not dont fill it|\n\n#\n\n# updates\n\nthere is nothing planned if you are interested in a feature contact me with issues\n\n# latest update\n\n## 1.5\n1. make an auto sending bot to send email at any time you want to whoever you want\n\n2. adding ways to make a template file other than html\n\n3. bug fixes\n#\n\n# to my github click [here](https://github.com/ian-abu/mail-sender-program)\n\n# to the pypi page click [here](https://pypi.org/project/mail-sending-program/)\n\n# if there are any bugs please report\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "a program that sends emails in one line",
    "version": "1.5",
    "project_urls": {
        "Homepage": "https://pypi.org/project/mail-sending-program/"
    },
    "split_keywords": [
        "python",
        "gmail",
        "html",
        "smtplib",
        "auto",
        "random"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1f06ffe5676dbf99f51d0d78d17f26336bfa16e89527e9bcd17efc584e80afd3",
                "md5": "5f650e0167372953307b881143cdf73d",
                "sha256": "18da550e62f933b183c371bfe57221e13bde7a0f70a662b7737d9663309b2590"
            },
            "downloads": -1,
            "filename": "mail_sending_program-1.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "5f650e0167372953307b881143cdf73d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 6157,
            "upload_time": "2023-08-07T15:37:26",
            "upload_time_iso_8601": "2023-08-07T15:37:26.583031Z",
            "url": "https://files.pythonhosted.org/packages/1f/06/ffe5676dbf99f51d0d78d17f26336bfa16e89527e9bcd17efc584e80afd3/mail_sending_program-1.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-07 15:37:26",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "mail-sending-program"
}
        
Elapsed time: 0.12422s