From looking at the source code, this plugin uses the value in the fixedEmail (reply) field as the From email value if it contains a valid email address. This behavior is not documented in the admin interface of the plugin and is incompatible with Amazon Simple Email Service (SES).
Amazon SES requires that all emails originate (From field) from previously verified email addresses. A much better solution is to put the fixedEmail value in the email ReplyTo field. This patch fixes this incompatibility:
- File custom-contact-forms-front.php, lines 576-579:
if ($reply != NULL && $this->validEmail($reply)) $mail->From = $reply; else $mail->From = $admin_options['default_from_email'];
- Replace with:
if ($reply != NULL && $this->validEmail($reply)) $mail->AddReplyTo($reply); $mail->From = $admin_options['default_from_email'];
- The topic ‘[Plugin: Custom Contact Forms] (patch) Fix incompatibility with Amazon SES’ is closed to new replies.