1- ## py-gmail
1+ ## py-gamil :
22Automatically Send Gmail with SMTP Server.
33
44## Package Installation :
@@ -18,6 +18,75 @@ Inorder to send mail form gmail using SMTP Server, first you need to enable "Two
1818
19194. Set any "Account PIN". This pin will be the passowad of the sender mail is.
2020```
21+ How to use the module :
22+ ----------------------
23+
24+ ## E-mail login credential :
25+ ```
26+ gmail_id = ('') #sender g-mail id
27+
28+ password = ('') #sender g-mail password
29+ ```
30+ ## Single Reciver mail id :
31+ ```
32+ reciver_mail_id = [
33+ 34+ ]
35+ ```
36+
37+ ## Multiple Reciver mail id's :
38+ ```
39+ reciver_mail_id = [
40+ 41+ 42+ 43+ '............................',
44+ '.............................',
45+ 'reciver_mail_id_N [email protected] ', 46+ ]
47+ ```
48+
49+ ## main subject :
50+ ```
51+ subject = ('') #mail subject
52+ ```
53+ ## mail contain :
54+ ```
55+ mail_contain = ('') #mail contain
56+ ```
57+ ## How to import the module :
58+ ```
59+ from gmail.gmail import gmail
60+ ```
61+ ## create mail object :
62+ ```
63+ mail = gmail()
64+ ```
65+ ## give sender login credential :
66+ ```
67+ mail.login(gmail_id, password)
68+ ```
69+ ## give reciver mail id or id's. :
70+ ```
71+ mail.reciver_mail(reciver)
72+ ```
73+ ## send mail :
74+ ```
75+ mail.send_mail(subject, mail_contain)
76+ ```
77+ ## Example :
78+ ```
79+ from gmail.gmail import gmail
80+
81+ mail = gmail()
82+
83+ mail.login(gmail_id, password)
84+
85+ mail.reciver_mail(reciver)
86+
87+ mail.send_mail(subject, mail_contain)
88+ ```
89+
2190## Requirement’s:
2291```
2392• Python
@@ -41,11 +110,10 @@ Inorder to send mail form gmail using SMTP Server, first you need to enable "Two
41110How to install | Python | | Anaconda | | Opencv library |
42111 [ ![ How to install | Python | | Anaconda | | Opencv library |] ( https://yt-embed.herokuapp.com/embed?v=eVV3byQlYvA )] ( https://www.youtube.com/watch?v=eVV3byQlYvA " How to install | Python | | Anaconda | | Opencv library | ")
43112
44-
45- ## License:
113+ ## License :
46114MIT Licensed
47115
48- ## Author:
116+ ## Author :
49117Sujit Mandal
50118
51119[ GitHub] ( https://github.com/sujitmandal )
0 commit comments