• Resolved yosmc

    (@yosmc)


    Hello,

    I need to implement more complicated conditions to determine if and when a newsletter should be sent – basically I need to make some database queries first to find out if the conditions are met. I’m trying to achieve this by launching my own script via crontab – the script will check the conditions, and only if they are met, trigger the newsletter-sending process.

    Is this something I can (ab)use Mailpoet for?

    Possible issues:
    – When I configure Mailpoet for use with cron, the program provides a link for that purpose. At the end of the link, there’s a “process=all” parameter. For my purposes, however, I don’t want to process all newsletters, but would like to trigger newsletters individually. Is there a way to do this? “process=3” or similar doesn’t seem to work, unfortunately.
    – For the purposes stated above, I only want Mailpoet to create a newsletter when the script is called, what I don’t want is that it queues up newsletters without being called and then sends them all out when the chance arises (I’m assuming that, when the Mailpoet newsletter is set to “daily” but the cron job is set to weekly, once the script is called, it will not send out one newsletter but all seven, correct?). Is there a way to set this up correctly? I was hoping that setting the newsletter to “standard” would do the trick, but it seems that way it doesn’t get triggered at all when I call the cronjob.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • We’re afraid MailPoet won’t be able to do that for you. There’s no granular control over the newsletter queue.

    Thread Starter yosmc

    (@yosmc)

    Thanks – but are you sure? I mean there’s the feature “standard newsletter” which, I guess, is for one-time mailings. However, if I can send an individual one-time mailing from within the admin interface, then obviously there must be some kind of function to do this? Thanks again.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Using Mailpoet conditionally’ is closed to new replies.