首页 > 代码库 > 发送邮件qq

发送邮件qq

HOST=mail_addr
SUBJECT=mail_addr
TO=mail_addr
FROM=text=(random.randint())
BODY=string.join((

    %FROM%TO%SUBJECTtext))
server=smtplib.SMTP_SSL(HOST)

server.login()

server.sendmail(FROM[TO]BODY)

server.quit()


发送邮件qq