• Hello,

    First of all congratulations for the plugin. I just tested version 2.4.18 and the new integration with Polylang works perfectly!

    My ALO EasyMail setup consists of a newsletter with single post template (based on campaign_monitor_elengant_single_post) that I send everytime I write a new post. Therefore I have to create a newsletter everytime (actually I create two, one for English posts and another one for Spanish posts) containing the exact same content except for the selected post.

    I wanted to ask you about the possibility of automatically sending newsletters everytime a new post is written. Would that be possible? Any idea on how to program it?

    Thanks!

    http://wordpress.org/plugins/alo-easymail/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author eventualo

    (@eventualo)

    For now it’s not possible an automatic sending. Maybe you can write it by yourself using plugin and WP hooks: e.g. when a new post is published a newsletter must be created and sent.
    Till now I always suggest that you look for other plugins that make this job (I think they should exist).

    Thread Starter greentomatosoup

    (@greentomatosoup)

    Thanks for the reply, Eventualo.

    The main reason I use your plugin is because it is the only one fully compatible with Polylang so I would prefer to stick with it.

    I can definitely create a hook every time a post is created, could you suggest what functions do I have to use to automatically create a newsletter and send it? I would need to add the following elements to it:
    – Theme
    – Post
    – Language of the newsletter
    – Subscribers according to their language

    Thanks for your help once again!

    The last post is 2 months old but in case it ever gets answered, I’m looking for functions I can call that will enable my software to set the content of a newsletter, select the mailing list for that newsletter and then add the newsletter to the mailing queue (so that a cron job can send eventually it out).

    In Alo-easymail-functions.php see the function:

    alo_em_add_new_batch()

    But it’s commented out. I also see the following that look like they might help:

    alo_em_zirkuss_newsletter_content()
    alo_em_send_newsletter_to()

    But I’m not sure if these are the functions I should be using and if so, how.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Automating newsletters’ is closed to new replies.