PythonでGMailを使う
インストール
% sudo pip install gmail
使う
from gmail import *
gmail_client = GMail("send@example.com", "password")
gmail_client.connect()
gmail_client.send(Message(subject="Hello,", to="receive@example.com", text="World!"))
% sudo pip install gmail
from gmail import *
gmail_client = GMail("send@example.com", "password")
gmail_client.connect()
gmail_client.send(Message(subject="Hello,", to="receive@example.com", text="World!"))