WordPress.org

Support

Support » Plugins and Hacks » Javelin Email Marketing » Broadcasts incorrectly going to all subcribers

Broadcasts incorrectly going to all subcribers

Viewing 4 replies - 1 through 4 (of 4 total)
  • I am also experiencing this problem and wanted to note that the From email address of the broadcast sent out is not correct. In my case, it appears that the From address is always the value of the first newsletter I created, even when I am broadcasting another newsletter.

    If there is any other information I can provide, please let me know.

    Thank you in advance!

    I temporarily removed the feature for disallowing broadcasts when posting an email. I will re add that provision in a future version.

    I spent time today reviewing the version 5.3.7 source code and may have determined why my newsletters are being sent to all subscribers in the site, regardless of the newsletter they are subscribed to. In the “run_for_time” function of broadcast_processor.php, there is a SQL query fetching the newsletter and subscibers of the current broadcast being processed. The WHERE clause of the SQL query does not appear to limit the results to the current newsletter only. In the code I reviewed, the query returns the subscribers for all newsletters. As a potential solution, I added an additional filter to the WHERE clause to check that the newsletter ID is equal to the NID variable (‘newsletters’.’id’ = $nid). I tested a few broadcasts following the change I made and it appears to have corrected my problem. I posted my findings here in hopes that Rajasekharan may be able to confirm what I stumbled upon and suggest whether or not this is a valid solution.

    Thank you for all your efforts and hard work Rajasekharan!

    Thanks for pointing this out. I’ll be sure to include this fix in the next version.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Broadcasts incorrectly going to all subcribers’ is closed to new replies.
Skip to toolbar