Custom Contact Forms
[resolved] (patch) Fix incompatibility with Amazon SES (1 post)

  1. creyes123
    Posted 4 years ago #

    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;
        $mail->From = $admin_options['default_from_email'];
      Replace with:
    if ($reply != NULL && $this->validEmail($reply))
    $mail->From = $admin_options['default_from_email'];


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Custom Contact Forms
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic