Title: Using SMTP other
Last modified: June 11, 2018

---

# Using SMTP other

 *  Resolved [itspwc](https://wordpress.org/support/users/itspwc/)
 * (@itspwc)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/using-smtp-other/)
 * Good Day All
 *  I am using the smtp other and I am able to send emails. The issue is as follows.
   When using smtp other there is a recommendation at the bottom of the admin section
   of the plugin that says.
 * ” The password is stored in plain text. We highly recommend you setup your password
   in your WordPress configuration file for improved security; to do this add the
   lines below to your wp-config.php file. ”
 * define( ‘WPMS_ON’, true );
    define( ‘WPMS_SMTP_PASS’, ‘your_password’ );
 *  When I add that to the config file the password dots become greyed which I am
   guessing is correct but once I do that I can’t send emails. Looking at the logs
   my password is not accepted. Any help would be appreciated

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [itspwc](https://wordpress.org/support/users/itspwc/)
 * (@itspwc)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/using-smtp-other/#post-10387739)
 * Follow up. Duh forgot to replace ‘your_password’ with my password but once I 
   did I could no longer get into the admin page
 *  Plugin Author [Slava Abakumov](https://wordpress.org/support/users/slaffik/)
 * (@slaffik)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/using-smtp-other/#post-10387929)
 * Hi [@itspwc](https://wordpress.org/support/users/itspwc/),
 * I think, your password has a `'` character that breaks PHP and you get 503 error(
   check your site error log and/or temporarily enable the Debug Log in WordPress).
   
   You can try to use `define( 'WPMS_SMTP_PASS', "your_password" );` instead of `
   define( 'WPMS_SMTP_PASS', 'your_password' );`– note the quote change around`your_password`.
 *  Plugin Author [Slava Abakumov](https://wordpress.org/support/users/slaffik/)
 * (@slaffik)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/using-smtp-other/#post-10387938)
 * Also, there is a minor issue that requires you to first save any random string
   in admin area of a plugin in the password field (like `123`). And after that 
   the password from a PHP constant will work fine.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Using SMTP other’ is closed to new replies.

 * ![](https://ps.w.org/wp-mail-smtp/assets/icon-256x256.png?rev=1755440)
 * [WP Mail SMTP by WPForms - The Most Popular SMTP and Email Log Plugin](https://wordpress.org/plugins/wp-mail-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-mail-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-mail-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-mail-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-mail-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-mail-smtp/reviews/)

## Tags

 * [email](https://wordpress.org/support/topic-tag/email/)
 * [other](https://wordpress.org/support/topic-tag/other/)

 * 3 replies
 * 2 participants
 * Last reply from: [Slava Abakumov](https://wordpress.org/support/users/slaffik/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/using-smtp-other/#post-10387938)
 * Status: resolved