可以用脚本发送,gmail的脚本参考:
import smtplib
sendto = ['xxx@xxx.com', 'yyy@yyy.com', 'zzz@zzz.com'] #收件人
no = [1,2,3] #编号
gmail_username = 'youremail@gmail.com'
gmail_password = 'password'
smtpserver = smtplib.SMTP("
smtp.gmail.com", 587)
smtpserver.ehlo()
smtpserver.starttls()
smtpserver.ehlo()
smtpserver.login(gmail_username,gmail_password)
for i in range(len(sendto)):
header = 'To:' + sendto[i] + 'From:' + gmail_username + '\n' + 'Subject:testing \n'
print header
msg = header + '\n this is testing if python gmail works \n\n' + str(no[i])
smtpserver.sendmail(gmail_username, sendto, msg)
print 'done!'
smtpserver.close()