by Bashkim Isai on WordPress.org
Uses Amazon Web Services (AWS) Simple Email Service (SES) to send emails.
Based on the original WP SES project by Sylvain Deaure. Main differences:
Go to: Admin » Dashboard » SES Statistics
Go to: Admin » Settings » WP Mail SES
wp_mail_ses_sent_email - This function is called once an email has been sent
to SES and provides two parameters:
$message_id (string or null) –MessageId as provided by SES if the request was successful,$mail_data (array) –subject, message, headers, attachmentsExample:
add_filter( 'wp_mail_ses_sent_email', function ( $message_id, $mail_data ) {
if ( is_null( $message_id ) ) {
echo "Sending failed";
} else {
echo "Sending successful";
}
print_r( $mail_data );
} );