Forums

Contact Form 7
[resolved] How to send form-mail via Amazon SES? (7 posts)

  1. jens.riboe
    Member
    Posted 7 months ago #

    My WP site is hosted in the Amazon cloud and in order to send emails one has to use their SES service (Simple-Email-Service). I'm using the WP-SES plugin, which works nicely.

    However, when the Contact-Form-7 plugin tries to send email it's going straight to /usr/sbin/sendmail, which is not installed nor needed.

    Question: How can I tweak this plugin to send the form-email via SES and the support the WP-SES plugin provides?

    http://wordpress.org/extend/plugins/contact-form-7/

  2. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 7 months ago #

    I haven't heard about the WP-SES plugin. Where can I get it from?

  3. jens.riboe
    Member
    Posted 7 months ago #

    Here are the relevant links:

    Question: How is the email delivery implemented in your plugin, currently?

  4. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 7 months ago #

    Thank you. I'll check them.

    Question: How is the email delivery implemented in your plugin, currently?

    wp_mail() function.

  5. jens.riboe
    Member
    Posted 7 months ago #

    According to the first QA in the FAQ at http://wp-ses.com/faq.html, it intercepts wp_mail(). So, your plugin *should* work with WP-SES.

    However, my Apache error.log shows that it tries to locate /usr/sbin/sendmail.

  6. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 7 months ago #

    WP-SES's readme.txt says:

    WP-SES redirects All outgoing WordPress emails through Amazon Simple Email Service (SES) instead of local wp_mail function.

    It doesn't intercept wp_mail(). Instead, it does try to replace wp_mail().

  7. jens.riboe
    Member
    Posted 7 months ago #

    It seems to work now, after a restart.
    Sorry to have raised a false concern.

Reply

You must log in to post.

About this Plugin

About this Topic