简体   繁体   中英

Contact Form 7 - mail not sending on App Engine

I have installed latest version 4.8.1 of Contact Form 7 wordpress plug in.

Configured settings with authorised sender but when teting form mail doesnt not send.

Checked the App Engine request logs and found this:

Mail error: Input header 'X-WPCF7-Content-Type: text/plain' is not whitelisted for use with the Google App Engine Mail Service.

I'm not sure of what this error means and therefore how to fix?

Using standard wp_mail is never recommended.

I suggest using Wordpress Easy WP SMTP to set the email sender details. https://wordpress.org/plugins/easy-wp-smtp/

Then you can tell Wordpress to send from a specific mailbox. For example anything@[APP_NAME].appspotmail.com

https://cloud.google.com/appengine/docs/standard/java/mail/

you can go to the mail tab option, you find out there is a 'To' input field in this field add you email address for eg : abc@example.com

and in from field add your name short code for eg :[your-name] [your-email] same goes for subject : [your-subject]

add these configuration to your contact-form-7 it will help you out

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM