Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Support Jess Quig

    (@jquigam)

    Hi Colin,

    It’s great to hear that you’ve already set up Mailgun, and that or any of the other options mentioned in the article you shared are definitely what we’d recommend in this case.

    If your test email for Mailgun is working (to test again, you can go to Settings > WP Mail SMTP and click the Email Test tab), then your setup there is good to go.

    The next step from there is to open the form builder and go to Settings > Notifications. Here, you’ll need to check that the From Email matches the email you used to set up Mailgun. These email addresses must match in order for Mailgun to be used when a form email is sent.

    Then, you’ll need to repeat this process for each of your forms. So in the end, the email addresses should match in 3 places:

    1) The email used to set up your Mailgun account
    2) The From Email under Settings > WP Mail SMTP
    3) The From Email for each form (in the form builder under Settings > Notifications)

    I hope this helps! When you’ve had a chance to check into this and submit a form to test, could you please let me know if this was the issue?

    Thanks πŸ™‚

    Thread Starter cjmaret

    (@cjmaret)

    Hi! As far as I can tell, everything is working! I looked at all 3 locations you mentioned, and they all had the same email, so I sent a test email and it came through! thanks!

    Plugin Support Jess Quig

    (@jquigam)

    That’s great to hear, Colin! Glad you were able to get this working!

    In case it helps any further, here’s our checklist with the full list of items we recommend testing on your forms to be sure everything is good to go.

    Have a good one πŸ™‚

    I had the same problem and use php default using my smtp and my emails start working. Reading this information help solved my problem.

    Plugin Support Jess Quig

    (@jquigam)

    Glad to hear it, kcsmith5511! πŸ™‚

    Versions:
    WordPress: 4.9.6
    WordPress MS: No
    PHP: 5.6.36
    WP Mail SMTP: 1.2.5

    Params:
    Mailer: mail
    Constants: No

    Server:
    PHP.mail(): Yes
    Apache.mod_security: No

    Plugin Support Jess Quig

    (@jquigam)

    Hi johnnyd85,

    From this debug log, it looks like you haven’t yet chosen a mailer option. In order to get WP Mail SMTP to work, you’ll need to select a mailer (under Settings > WP Mail SMTP) and complete the necessary setup steps. Otherwise, your site will continue to use WordPress’s default PHP mail() option.

    For specific tutorials on each mailer option, you can check out our WP Mail SMTP tutorial.

    Hope that helps!

    I got the mail to work. However, a suggestion comes up; “With this in mind, we highly recommend you set up your password in your WordPress configuration file, wp-config.php for improved security.”
    Here’s the code you’ll need to add:
    define( ‘WPMS_ON’, true );
    define( ‘WPMS_SMTP_PASS’, ‘your_password’ );

    I tried this and went back to refresh my WP Mail SMTP page. My password was grayed out which was good, but after doing a retest, it failed. Once I removed the code and refreshed the page, it worked again. I tried this two ways. One, I removed define(‘WP_DEBUG’, false); and replaced it. The second, I just pasted the suggested code on the next line underneath define(‘WP_DEBUG’, false);. Both ways it didn’t work. Please advise.

    Also the load time for these pages are very long.

    Plugin Support Jess Quig

    (@jquigam)

    Hi johnnyd85,

    I’m sorry for the trouble with that! I asked our developers, and they said that this issue can result from an issue with constants not storing properly to the database (this will be addressed in an upcoming update).

    For now, though, you can get around this issue with the following steps:

    1) Set the first line of code define( 'WPMS_ON', true ); to false in wp-config.php.
    So the code should be:
    define( 'WPMS_ON', false );

    2) Refresh your site, then go to Settings > WP Mail SMTP and enter a random value as the password (for example, 123). Save these settings.

    3) Go back to wp-config.php and switch the code to define( 'WPMS_ON', true );. If you haven’t already, also add the password code in. So the code will be:

    define( 'WPMS_ON', true );
    define( 'WPMS_SMTP_PASS', 'your_password' );
    

    Be sure to save the file.

    4) Now go back to your site, refresh the page, and try running the WP Mail SMTP test email again.

    As far as the slow speed, this is a result of a long communication between your site’s server and the SMTP server. Unfortunately we’re not able to control this speed, however one possible reason for the slowdown could be incorrect credentials (so hopefully this will go faster with the above steps in place).

    When you’ve had a chance to try out these steps, could you please let me know if the test email works for you?

    Thanks!

    • This reply was modified 5 years, 10 months ago by Jess Quig.

    I’m a little confused. When you say on #1 to set define( ‘WPMS_ON’, true ); to false in wp-config.php. so the code should be:define( ‘WPMS_ON’, false );, do you mean line 83 where it currently shows the defaulted code of define(‘WP_DEBUG’, false);, or put it underneath on line 84 which is blank or on line 1 where it says, ‘<?php? Secondly, define( ‘WPMS_ON’, true ); is not even included within the wp-config.php page. As stated previously, I tried replacing defaulted line 83 define(‘WP_DEBUG’, false); with your suggested code and it didn’t work and I also tried leaving line 83 alone and put your suggested code on lines 84 and 85. Please advise.

    72* For developers: WordPress debugging mode.
    73*
    74* Change this to true to enable the display of notices during development.
    75* It is strongly recommended that plugin and theme developers use WP_DEBUG
    76* in their development environments.
    77*
    78* For information on other constants that can be used for debugging,
    79* visit the Codex.
    80*
    81* @link https://codex.wordpress.org/Debugging_in_WordPress
    82*/
    83define(‘WP_DEBUG’, false);
    84
    85/* That’s all, stop editing! Happy blogging. */
    86
    87/** Absolute path to the WordPress directory. */
    88if ( !defined(‘ABSPATH’) )
    89define(‘ABSPATH’, dirname(__FILE__) . ‘/’);
    90
    91/** Sets up WordPress vars and included files. */
    92require_once(ABSPATH . ‘wp-settings.php’);
    93

    Plugin Support Jess Quig

    (@jquigam)

    Hi johnnyd85,

    I apologize for any confusion, and WP_DEBUG is a completely separate line of code (no connection to what we’re discussing here). You can ignore this line of code for our purposes here.

    None of the code I shared would have been in your wp-config file by default. If you’d removed it from any of the earlier attempts you’d mentioned, you can go ahead and add it back in to follow the steps I shared.

    I hope that helps!

    This what you said above; “For now, though, you can get around this issue with the following steps:”

    1) Set the first line of code define( ‘WPMS_ON’, true ); to false in wp-config.php.
    So the code should be:
    define( ‘WPMS_ON’, false );

    Where do I put the code? First line of code? As stated previously, do you mean on line 84 where it currently is blank or on line 1 where it says, β€˜<?php or somewhere else? Thank you.

    Plugin Support Jess Quig

    (@jquigam)

    Hi johnnyd85,

    I apologize for any confusion, and my response was based on the assumption that you’d already tried to add this code to your site’s wp-config file.

    As I mentioned, the debug code is 100% unrelated. You will not need to touch any of the code that already existed in your wp-config file.

    Here are revised steps:

    1) Add the following code to a new line in wp-config.php (with your real password in place):

    define( 'WPMS_ON', false );
    define( 'WPMS_SMTP_PASS', 'your_password' );
    

    2) Refresh your site, then go to Settings > WP Mail SMTP and enter a random value as the password (for example, 123). Save these settings.

    3) Go back to wp-config.php and switch the first line to say true. This is how you code should now look (again, with your real password in place):

    define( 'WPMS_ON', true );
    define( 'WPMS_SMTP_PASS', 'your_password' );
    

    Be sure to save the file.

    4) Now go back to your site, refresh the page, and try running the WP Mail SMTP test email again.

    I hope this clears up your questions!

    I’m sorry but this is not working. Below is your lines 2 & 3. Line 2 tells me to change the password to a random value. Then at the end of line 3, you state (again, with your real password in place): If you just had me change to a random one and save, I’m not getting it. Are you saying that in the wp-congig.php file I should be substituting my real password in between the single quote marks of where it says, ‘your password’in the following code? define( ‘WPMS_SMTP_PASS’, ‘your_password’ );

    2) Refresh your site, then go to Settings > WP Mail SMTP and enter a random value as the password (for example, 123). Save these settings.

    3) Go back to wp-config.php and switch the first line to say true. This is how you code should now look (again, with your real password in place):

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Email Sent Confirmation, But Not Receiving Emails’ is closed to new replies.