Yes, we use WP SMTP plugin and send mails via Sendgrid.
Issue was supposedly with W3TC plugin or transients – it is unclear.
What I tried to solve the issue?
1. Deleted the campaign directly. Didn’t work.
2. Deleted noptin options from database. Didn’t work.
3. Deactivated plugins (free or pro) for 24hrs. Didn’t work.
4. Restarted services on my server – Redis, Nginx etc. Didn’t work.
5. Checked for Cron in Wp_Cron, Action Scheduler. Found nothing related to noptin.
6. Decreased sending capacity in the plugin to 0 mails per hour. Didn’t work.
7. Tried to find and delete the email data from wp_posts or postmeta table – nothing there.
Finally, I digged into the code – because my Spam Score was going off the charts and nothing was stopping the emails – not even deletion of plugins.
wp-content/plugins/newsletter-optin-box/includes/class-noptin-mailer.php
Commented line 59.
Please let me know if this is correct or else I will dig further.
It is a nightmare frankly. May I know how is this plugin sending mails without cron?!
I said W3TC or Transients because I took the extreme steps to disable Object Caching and Clear transients to stop this email. I am not sure if that worked, because it was only 30 mins back I have had no spam reports.