• Resolved joncon62

    (@joncon62)


    Thanks for a great plugin, it’s such a useful tool on my website and in development.

    I am running a script that loops through email addresses sending individual emails using wp_mail() and I would like to disable logging for each of these emails. I don’t want to turn off logging for the duration of the loop as other emails may go out during the execution of the script.

    Is there a way, via a parameter, eg wp_mail( $recipient, $subject, $this_eb_body, $headers, $attachments, NOLOG ) that I can disable logging for that email?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Amimul Ihsan Mahdi

    (@amimulihsanmahdi)

    Hello @joncon62,

    Thank you for the explaining the use case. Unfortunately, Fluent SMTP does not have any filter hook to disable log for specific emails.

    Thank you

    I would also like to see some solution for this.

    For example block the logging all of the marketing emails which are sent out. But log everything regarding the system messages (WooCommerce Subs, etc.)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Disable email logging for specific email’ is closed to new replies.