赞
踩
from amazon_ses import AmazonSES, EmailMessageAccessKeyID = ...你的AccessKeyIDSecretAccessKey = ...你的SecretAccessKeyamazonSes = AmazonSES(AccessKeyID, SecretAccessKey)amazonSes.verifyEmailAddress(你需要验证的发信邮件)
from amazon_ses import AmazonSES, EmailMessageAccessKeyID = ...你的AccessKeyIDSecretAccessKey = ...你的SecretAccessKeyamazonSes = AmazonSES(AccessKeyID, SecretAccessKey)message = EmailMessage()message.subject = 'hello world'message.bodyHtml = 'hello world from ses'r = amazonSes.sendEmail( 发信人, 收件人, message)
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。