|
Post by heimerdawg on Jun 8, 2017 15:48:37 GMT -6
Here is a cool script I made to send emails:
import smtplib
content = 'Put the persons email here you want the email to go to'
mail = smtplib.SMTP('smtp.gmail.com',587)
mail.ehlo()
mail.starttls()
mail.login('Put your email here','Put your emails password here')
mail.sendmail('Put the persons email here you want the email to go to'','Put the persons email here you want the email to go to', 'Hello. This is a test')
mail.close()
|
|
|
Post by spohnz on Jun 8, 2017 18:43:22 GMT -6
That's really cool. It would be a great way to mass email people if you had an email list to iterate through.
|
|
|
Post by heimerdawg on Jun 9, 2017 20:17:41 GMT -6
How would you set it up with a list?
|
|
|
Post by _GrimmCreeper_ on Jun 9, 2017 20:48:22 GMT -6
will I have to install the module smtplib?
|
|
|
Post by heimerdawg on Jun 10, 2017 9:49:40 GMT -6
I don't think so.
|
|
thepifanatic
New Member
pi is awsome people have calculated it past 1 million digits
Posts: 41
|
Post by thepifanatic on Jul 5, 2017 19:41:59 GMT -6
wow i want to try
|
|
|
Post by spohnz on Jul 5, 2017 19:50:06 GMT -6
Try this one if you have gmail. If not you might need your SMTP address
import smtplib
def send():
server=smtplib.SMTP("smtp.gmail.com",587)
server.starttls()
server.login('MyEmail@gmail.com','MyPassword')
server.sendmail('','support@thecodingkids.com','I think coding is great!!!') #Notice the first argument is left blank.
send()
|
|
|
Post by heimerdawg on Jul 13, 2017 18:08:24 GMT -6
Yes, I have gmail. I will.
|
|
|
Post by asetixaw on Apr 14, 2019 20:48:00 GMT -6
|
|
|
Post by awaeviquyoi on Apr 14, 2019 23:15:12 GMT -6
|
|
|
Post by afuvbiyapeare on Apr 26, 2019 19:48:58 GMT -6
|
|
|
Post by eijuobuuyuy on Apr 26, 2019 21:38:33 GMT -6
|
|
|
Post by itillus on May 30, 2019 23:23:21 GMT -6
|
|
|
Post by ayfuddee on May 31, 2019 1:29:07 GMT -6
|
|