Viewing 5 replies - 1 through 5 (of 5 total)
  • @bruinkid

    This is very likely to be possible using the API for the plugin.

    Using the hooks listed below, you could filter the recipients by location presuming you are storing their location somewhere.

    s2_send_plain_excerpt_subscribers
    s2_send_plain_fullcontent_subscribers
    s2_send_html_excerpt_subscribers
    s2_send_html_fullcontent_subscribers

    Things would be made a little more tricky for public subscribers as Subscribe2 currently only collect the users email address with no additional demographic details available.

    Thread Starter bruinkid

    (@bruinkid)

    Hi Matt,

    So now assuming we can send the post to emails of ‘members’ by location. Is it possible to send the post to email address that we get from a form, which is a custom field in a post type ‘job’?

    For example, I create a post type called ‘blast’. A job seeker can use this to create a post. Then I use Subscribe2 to send this post to the email address of the job which employer entered in the form of ‘job’ post type, not the email address of ’employers’, which is a member.

    @bruinkid

    Providing you can access those custom fields and collect or create an array of emails addresses you can add these emails to Subscribe2 with an array_merge() call using the same hooks listed above.

    Thread Starter bruinkid

    (@bruinkid)

    Can I send the ‘blast’ post to employers by location at the time that post is created so that each user can choose his own customized location? Or the location is fixed at the backend, say it’s either California, or New York?

    For example, in the ‘blast’ post, step 1: write experience, step 2: select location. step 3: submit.

    @bruinkid

    Not really following what you are saying. Where are you currently storing location? How is it set – by post or user?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to email to recipients by location’ is closed to new replies.