colin123

Untitled

Sep 11th, 2019
4,331
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Configures WordPress to use SMTP server
  2. define( 'SMTP_USER', 'hello@yoursite.com.com' ); // Username to use for SMTP authentication
  3. define( 'SMTP_PASS', 'SMTP_PASSWORD' ); // Password to use for SMTP authentication
  4. define( 'SMTP_HOST', 'smtp.smtpserver.com' ); // The hostname of the mail server
  5. define( 'SMTP_FROM', 'hello@yoursite.com' ); // SMTP From email address
  6. define( 'SMTP_NAME', 'FROM_NAME' ); // SMTP From name
  7. define( 'SMTP_PORT', '25' ); // SMTP port number - likely to be 25, 465 or 587
  8. define( 'SMTP_SECURE', 'tls' ); // Encryption system to use - ssl or tls
  9. define( 'SMTP_AUTH', true ); // Use SMTP authentication (true|false)
  10. define( 'SMTP_DEBUG', 0 ); // for debugging purposes only set to 1 or 2
RAW Paste Data