smtp password in wp-config?
-
I used the code you describe here to protect my SMTP username and password in wp-config:
https://postmansmtp.com/post-smtp-1-9-0-better-support-for-secure-delivery/If I use the code like this in my wp-config:
<?php
define( ‘POST_SMTP_AUTH_USERNAME’, ‘[email protected]’);
define( ‘POST_SMTP_AUTH_PASSWORD’, ‘MY_GMAIL_PASS’);my website crashes.
If I use the code without <?php in the first line, then the website is good again.
So do i have to use the code like this (without the <?php line):define( ‘POST_SMTP_AUTH_USERNAME’, ‘[email protected]’);
define( ‘POST_SMTP_AUTH_PASSWORD’, ‘MY_GMAIL_PASS’);Second question: in the post you say that “In the wizard or the settings just insert fake info”. So in the wizard password field I entered 123456 as a fake password. After saving this change I see that the normal password is back in the settings? I mean I see 22 characters after saving and my real password is 22 characters…
- The topic ‘smtp password in wp-config?’ is closed to new replies.