1
mirror of git://git.acid.vegas/random.git synced 2024-11-14 20:16:40 +00:00
random/gmail.py

5 lines
222 B
Python
Raw Normal View History

#!/usr/bin/env python
import smtplib,sys
with smtplib.SMTP_SSL('smtp.gmail.com',465) as server:
server.login('username@gmail.com','password')
server.sendmail('username@gmail.com','target@mail.com',' '.join(sys.argv[1:]))