• Hi!

    Thanks for this awesome fork!

    Is there a filter available to set type “Default” and mailer type to “PostSMTP”?

    I want to prevent outgoing e-mails on my development servers. I could trigger this filter e.g. when WP_DEBUG is active or under another PHP condition.

    Looking forward to your reply. Thanks!

    Kind regards
    Erik Molenaar
    – a big Post SMTP fan!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    Thank you for your kind words.

    define( 'POST_SMTP_RUN_MODE', 'log_only' );

    This will just log, and will not send emails.
    There isn’t a way to set mail service.

    Thread Starter Erik Molenaar

    (@erikmolenaar)

    Hi @yehudah

    I noticed, while POST_SMTP_RUN_MODE is set to ‘log_only’, the logs still shows all emails as ‘Sent’. This is kinda confusing!

    Why not set the status to ‘Not sent (log_only)‘? It would make much more sense:

    02.11.2020-15.17.25

    I hope this improves your awesome plugin. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP Filter to set Settings?’ is closed to new replies.