• Hi, First of all great plugin!
    I’d like to send newsletters automatically daily but only when new content is added or updated. How to setup your pugin to achieve this?
    How could I do it in such way that each mailing list is connected to particular content (custom post types – one or more) and subscribers from that list receive emails with content only from these post types? How to create separate newsletter template for each mailing list?
    Sometimes I plan to send custom/additional information to subscribers (I think I’ll create separate custom post type for that) – how could I grab/pick up that additional information and merge/join with “main” newsletter content?
    Cheers

    https://www.ads-software.com/plugins/alo-easymail/

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

    (@eventualo)

    About automatic notifications when new posts are published, you can use a plugin like this one:
    https://www.ads-software.com/plugins/subscribe2/

    About other issues, maybe you can write some php code to add them. Please have a look at the developer page, it’s a good starting point:
    https://www.eventualo.net/blog/easymail-newsletter-for-developers/

    Thread Starter jenkit

    (@jenkit)

    Hi, is there an action in your plugin which can be triggered (wp cron maybe) to create and send newsletter?
    I’d like to send in the newsletter latest posts information, but based on different posts categories. Each mailing list would get info from different post categories. How could I make it in newsletter template? Maybe some confitionals depending on mailing list, but I don’t know which way to go.
    Cheers.

    Plugin Author eventualo

    (@eventualo)

    No, for now there is not a method to create and send newsletters automatically. Some time ago I tried, but I was not able to have a good result.
    About adding several posts from different categories in newsletter content, there is a ready-to-use script bundled with plugin: alo-easymail/mu-plugins/alo-easymail_multiple-posts-placeholder.php
    To enable it you can paste this file into wp-content/mu-plugins folder (if the directory doesn”t exist, simply create it).

    Thread Starter jenkit

    (@jenkit)

    Yeah, but I would like to send newsletter to all mailing lists in one go . In that one newsletter I need to determine to which list each subscriber belongs. It’ll allow me to show them latest post from different categories or different custom post types. So how to check if “that” subscriber is in “that” mailing list? By list id, by checking in database? What code should I write in newsletter template to make it work? Cheers

    Plugin Author eventualo

    (@eventualo)

    I’ve just looked into the code…

    Here is a the [LATEST-POSTS] placeholder code:
    https://github.com/groucho75/alo-easymail/blob/master/mu-plugins/alo-easymail_latest-posts-placeholder.php#L83

    Inside the function that replace placeholder (custom_easymail_placeholders_get_latest) you have a $recipient object that store the subscriber details related to a newsletter.
    You cannot get directly the lists of a recipient, but of the related subscriber:

    $subscriber_id = alo_em_is_subscriber( $recipient->email );
    $user_lists = alo_em_get_user_mailinglists ( $subscriber_id );

    I hope it helps.

    Thread Starter jenkit

    (@jenkit)

    Thank you!. It helped a tone. And please do you know how to get $subscriber_id and $user_lists on on-line version of the newsletter? Cheers

    Thread Starter jenkit

    (@jenkit)

    Hi, please how could I get recipient info in online preview? I need that so I can show content to the user according to the list he subscribed. Thanks

    So was it possible to send notifications of new posts?

    I know that subscribe2 allows this, but it does not support qtranslate-x.

    Is it possible to use this plugin so that when somebody registers it will notify them of news posts AND work with qtranslate-x??

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Sending emails to mailing lists when content added’ is closed to new replies.