2,187
edits
(→Send Emails via SMTP Server: Added "Pretty Permalinks") |
m (→Send Emails via SMTP Server: Updated for v3.6) |
||
Line 27: | Line 27: | ||
|- | |- | ||
| Be aware that changes made may be overwritten by software upgrades, and line numbers etc will change. | | Be aware that changes made may be overwritten by software upgrades, and line numbers etc will change. | ||
Procedure below was created using WordPress v3. | Procedure below was created using WordPress v3.6, will update when necessary for subsequent releases | ||
|} | |} | ||
Line 37: | Line 37: | ||
## To update the From email address in email update <code>$from_email = </code> at around line 335 | ## To update the From email address in email update <code>$from_email = </code> at around line 335 | ||
# Update <code> /wp-includes/class-phpmailer.php </code> to configure the SMTP server connection settings | # Update <code> /wp-includes/class-phpmailer.php </code> to configure the SMTP server connection settings | ||
## Find the line <code> public $Host = '';</code>, should be around line | ## Find the line <code> public $Host = '';</code>, should be around line 225, and update with MTA hosts | ||
##* EG <code>public $Host = 'mail.domain.com;mail2.domain.com'; </code> | ##* EG <code>public $Host = 'mail.domain.com;mail2.domain.com'; </code> | ||
## If you need to use a secure connection set <code> public $SMTPSecure </code> to <code>ssl</code> or <code>tls</code> as appropriate | ## If you need to use a secure connection set <code> public $SMTPSecure </code> to <code>ssl</code> or <code>tls</code> as appropriate |