开发者 | appsrtmbusiness |
---|---|
更新时间 | 2022年3月2日 21:11 |
PHP版本: | 7.2 及以上 |
WordPress版本: | 5.9.1 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
wp_mail
function gets called inside your WordPress website it will trigger a filter where the recently sent email will get caught. This works inside for every outgoing mail from the website and every incoming mail from the website.
An example wp_mail function could look like this:
php
wp_mail(get_option('admin_email'), 'This is a sample subject', '<h1>This is a test</h1><p>This is just a test mail to see if everything is working OK</p>', 'Content-Type:text/html', []);
For questions, feedback or other issues please contact us at WPMail
Yes, unless there is a failure then you can resend it once the problem is identified.