• Resolved ancawonka

    (@ancawonka)


    Hi there,

    I’m trying to configure Easy WP SMTP on a site hosted at Pantheon. I’m able to send a test email (and receive it!), but when I try to get a different email (such as a password reset) I get the error message from wp-login.php about the mail() function being disabled.

    I thought I could turn on the log file to see if there are any errors that the plugin could tell me about, but when I click on “View Log” a blank page appears.

    I was also not able to find the (uniqueid)_debug.txt file in the plugin directory, or the wp-content/uploads directory.

    There were some PHP notifications in the debug.log file until I saved the plugin settings

    Do you have some ideas for where I can look next? It seems like the SMTP connection works but somehow the plugin isn’t taking over all of the outgoing mail functions.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi.

    1. Could you please click “Clear Log” first, then click “View Log” and see if log file appeared?

    2. Can you disable all the plugins BUT Easy WP SMTP and try to get a password reset mail again?

    Thread Starter ancawonka

    (@ancawonka)

    Hi @alexanderfoxc

    I fixed the issue – there was another plugin taking over the wp_mail function, and once I disabled it I was okay.

    However – Pantheon will not, by default, allow a plugin to write into its install directory, so I wasn’t able to get the logfile working in anything but the development environment. You might consider making the default directory for logs be somewhere in wp-content/uploads.

    • This reply was modified 7 years, 5 months ago by ancawonka. Reason: resolved

    Hi @ancawonka and thanks for replying back ??

    I fixed the issue – there was another plugin taking over the wp_mail function, and once I disabled it I was okay.

    That’s what I thought, that’s why asked you to disable all plugins and try again ??

    Regarding the inability to write a log file to plugin’s directory – thank you for your suggestion. I was going to add a fall-back measure like this, looks most simple and obvious to write it to uploads dir if plugins’ dir has no write access.

    Thank you once again!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can’t view log file’ is closed to new replies.