Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Configures WordPress to use SMTP server
- define( 'SMTP_USER', 'hello@yoursite.com.com' ); // Username to use for SMTP authentication
- define( 'SMTP_PASS', 'SMTP_PASSWORD' ); // Password to use for SMTP authentication
- define( 'SMTP_HOST', 'smtp.smtpserver.com' ); // The hostname of the mail server
- define( 'SMTP_FROM', 'hello@yoursite.com' ); // SMTP From email address
- define( 'SMTP_NAME', 'FROM_NAME' ); // SMTP From name
- define( 'SMTP_PORT', '25' ); // SMTP port number - likely to be 25, 465 or 587
- define( 'SMTP_SECURE', 'tls' ); // Encryption system to use - ssl or tls
- define( 'SMTP_AUTH', true ); // Use SMTP authentication (true|false)
- define( 'SMTP_DEBUG', 0 ); // for debugging purposes only set to 1 or 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement