• Resolved Ran

    (@ranzhang)


    Hi S2,

    We have <2000 Confirmed Public Subscribers, a few Registered Subs. Using CPTs for posts, sent via 3rd party Mail API via SPF/DKIM on dedicated IP.

    We also have Email Log.

    For each post created under CPTs, No email were sent to Confirmed Public Subscribers, Only sent to Registered Subscribers.

    Is there a way to send CPT posts to Confirmed Public Subscribers ?

    Thanks in advanced!

    Settings screen shot is here:
    http://awesomescreenshot.com/0462u4rx34

    https://wordpress.org/plugins/subscribe2/

Viewing 11 replies - 1 through 11 (of 11 total)
  • @ran

    Do those custom post types also use a custom taxonomy? Have you registered that in Subscribe2 (like you seem to have registered your CPTs)?

    Thread Starter Ran

    (@ranzhang)

    Hi Matt,

    In CPTs, the post is using category of the regular Post’s. In this case, I assume no need to register ‘category’ as a custom taxonomy ?

    I have registered CPTs (visible in Settings) but have not registered any taxonomy.

    please advice, thx!

    Thread Starter Ran

    (@ranzhang)

    This is how I registered one of the CPTs to use regular category:

    ‘taxonomies’ => array(‘post_tag’, ‘category’)

    register_post_type( 'og_news',
    
    		array(
    
    			'labels' => array(
    
    				'name' => __( 'OG News Posts' ),
    
    				'singular_name' => __( 'og_news' ),
    
    			),
    
    		'public' => true,
    
    		'publicly_queryable' => true,
    
    		'exclude_from_search' => false,
    
    		'query_var' => true,
    
    		'has_archive' => true,
    
    		'supports' => array('title', 'editor', 'thumbnail', 'excerpt', 'revisions'),
    
    		'taxonomies' => array('post_tag', 'category'),
    
    		'rewrite' => array('slug' => 'og-news')
    
    		)
    
    	);

    @ran,

    Do you assign these custom posts to a category, either manually when writing them or by a default when saved? Do you have any excluded categories in Subscribe2?

    Have a same problem. Posts have a category, no excluded categories.

    Thread Starter Ran

    (@ranzhang)

    We assign custom posts to a regular category when publishing them. We are using Per Post delivery and recipients per email set to 1.

    I had taken the site offline to a testing area, with small scale testing, I can receive email normally (CPT posts with regular category)

    With large scale testing (1000+) my-name+test0001@gmail.com (these will all deliver to my-name@gmail.com) there are actually less than half of the addresses being sent email (3rd party API logging) before gateway timeouts (of course, if a page is waiting for longer than timeout it will time out)

    I am using “Per Hour” option to see if this still happens – Since the whole process of actual sending and delivering 1000 email takes up to 15 minutes.

    Thread Starter Ran

    (@ranzhang)

    The “Once Hourly” option with 1000 sends only delivered ~40 recipients.

    I am using the 9.4(?) version.

    @ran,

    Okay, so to clarify, the emails are generated but a good proportion don’t get sent because the server takes too long to process them all in one go.

    In that case you need to use some email throttling like WordPress Mail Queue.
    http://semperplugins.com/plugins/wordpress-mail-queue-wpmq/

    I have a different thing: only 20 recipients, test message is OK, but posts doesn`t send. If the number of recipients per email set 0, i have no any messages, registered users too(not mail server settings). If – 1, registered OK.

    @kaortw,

    For future reference you really need to open your own thread when seeking help.

    To start trouble shooting failed emails have a look through all of the tips here:
    http://subscribe2.wordpress.com/2013/09/17/troubleshooting-emails-in-subscribe2/

    OK

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Custom Post Type and Public Subscribers’ is closed to new replies.