| 开发者 | husobj |
|---|---|
| 更新时间 | 2020年12月20日 02:37 |
| 捐献地址: | 去捐款 |
| PHP版本: | 4.3 及以上 |
| WordPress版本: | 5.6 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
wp_mail_from and wp_mail_from_name.wp-mailfrom-ii.zip in the /wp-content/plugins/ directory, making sure the folder is called wp-mailfrom-ii.Settings > Mail From and save your preferred name and email address.get_option( 'site_mail_from_name' ); get_option( 'site_mail_from_email' );
You should now use:
get_option( 'wp_mailfrom_ii_name' ); get_option( 'wp_mailfrom_ii_email' );Possibly your mail server has added a Sender: header or is configured to always set the envelope sender to the user calling it.
Some hosts may refuse to relay mail from an unknown domain. See http://trac.wordpress.org/ticket/5007 for more details.
screen_icon().wp_mailfrom_ii_name and wp_mailfrom_ii_email options. Upgrade support is provided for old options.