No description
Find a file
2025-10-11 18:11:35 +02:00
fixtures rebuild to use hooks 2025-10-11 18:11:35 +02:00
frappe_ses rebuild to use hooks 2025-10-11 18:11:35 +02:00
MANIFEST.in init 2025-10-11 15:07:41 +02:00
README.md init 2025-10-11 15:07:41 +02:00
setup.py rebuild to use hooks 2025-10-11 18:11:35 +02:00

frappe_ses

AWS Simple Email Service integration for Frappe

Features

  • Seamless replacement for SMTP in EmailQueue.send
  • Per-Email Account SES configuration
  • Supports IAM Roles, site_config, or explicit key pairs
  • Updates Communication.message_id with SES MessageId
  • Works with attachments, inline images, and HTML

Installation

bench get-app https://codeberg.org/rwright/frappe_ses.git
bench --site yoursite install-app frappe_ses
bench migrate

Then in Email Account:

  1. Check Use AWS SES
  2. Enter your region (and keys if needed)

If your server has an IAM Role with SES permissions, leave the key fields blank.

How it works

  • Frappe queues emails as usual.
  • When EmailQueue.send() runs, it detects use_ses.
  • If true → send via AWS SES using send_raw_email.
  • If false → fallback to SMTP.
  • Updates the Communication.message_id to the SES MessageId.