篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了php wp-config.php文件中的WP Mail SES设置相关的知识,希望对你有一定的参考价值。
/**
* Include your AWS keys below. A good idea is to make sure these are
* not hard coded, but resourced in from environmental variables. This
* way it is not hard coded in to your version control.
*/
define('WP_MAIL_SES_ACCESS_KEY_ID', 'AKIAINFSZ3YV7YF5TDIA');
define('WP_MAIL_SES_SECRET_ACCESS_KEY', 'Owl36L1DeTvMo6XFz9slzR+07VL/eXJ3o1fWPbnW');
/**
* Define the endpoint for your emails to be sent. Endpoints include:
*
* email.us-east-1.amazonaws.com
* email.us-west-2.amazonaws.com
* email.eu-west-1.amazonaws.com
*/
define('WP_MAIL_SES_ENDPOINT', 'email.us-east-1.amazonaws.com');
/**
* Define the composer information for your email (who the email is
* sent from). The email address must be approved in your AWS console
* in the specified region.
*/
define('WP_MAIL_SES_COMPOSER_NAME', 'Nurraysa');
define('WP_MAIL_SES_COMPOSER_EMAIL', 'no-reply@nurraysa.com');
/**
* Disable accessing of statistics from the Dashboard
*/
define('WP_MAIL_SES_HIDE_STATISTICS', true);
以上是关于php wp-config.php文件中的WP Mail SES设置的主要内容,如果未能解决你的问题,请参考以下文章