歪麦博客
  • 首页
  • PHP启示录
  • PHP设计模式
  • 技术
  • 关于&捐赠
  • 语言

Tag: Email

Complete Guide: Sending Emails via AWS SES using SMTP

2023-10-16 159 Technical, 记录 AWS, Email, SES, SMTP 2 Comments
While I started to send email via AWS SES, it took me a long time to config it to make it working. So I wrote it down once I success doing it. Here are the important poinits: Verified identities Create SMTP credentials Send email with smtplib Raise ticket to AWS (default the SMTP is in sandbox, you can only sen…

Python solved SMTP ssl.SSLError: [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:1002)

2023-10-10 759 Technical, 记录 Email, SMTP Leave a Comment
Usually, we send email by SMTP using: def send_email(receivers, subject, body): msg = EmailMessage() msg['From'] = SMTP_USER msg['Bcc'] = receivers msg['Subject'] = subject msg.add_alternative(body, subtype='html') with smtplib.SMTP_SSL(SMTP_HOST, SMTP_PORT) as server: se…

标签云

Android CentOS cURL Dart Docker flutter git Java JavaScript JQuery Json Linux MVC MySQL MySQL优化 Nginx Opencart PHP PHP-FPM PHP7 PHPStorm PHP框架 PHP调试 Python Redis scrapy Session spring boot ThinkPHP Ubuntu VirtualBox Windows WordPress Yaf教程 下载 函数 压缩 性能分析 数据库 数组 爬虫 算法 缓存 虚拟机 随机数
Theme: Maizi. Powered by WordPress.