Skip to content

Releasing beta version for testing changes to mail API.

Pre-release
Pre-release

Choose a tag to compare

@YashBanka YashBanka released this 25 Aug 12:45
1d0c011

This release introduces a major feature to the App Engine Mail API: the ability to send emails via an
external SMTP service. This provides a more flexible and robust way to send emails from your App Engine
application.

Mail API: SMTP Support

Key Features:

  • SMTP Mail Sending: Implemented the ability to send emails through a configured SMTP server. This
    functionality can be enabled by setting the USE_SMTP_MAIL_SERVICE environment variable.
  • Admin Email Support: AdminEmailMessage is now supported when using the SMTP transport. Recipients for
    admin emails are configured via the ADMIN_EMAIL_RECIPIENTS environment variable.
  • Error Handling & Resilience: Added specific error handling for common SMTP issues, such as authentication
    and connection errors, which are now surfaced as standard Mail API exceptions.
  • Comprehensive Tests: A full suite of unit tests has been added to ensure the reliability and correctness
    of the new SMTP sending functionality under various conditions.