The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Blank mail on using global_merge_tags in mandrill_payload (3 posts)

  1. milanvanbruggen
    Posted 3 years ago #

    Hi there,

    I'm trying to get wpMandrill working with my site.
    I want to use a Mailchimp template to send a mail with dynamic content. I've tries this by using mandrill_payload in combination with global_merge_vars and the *|MERGEVAR|* tags, but can't figure it out. Can you give me a hint in the right direction?

    Kind regards,


  2. Marko Heijnen
    Posted 3 years ago #

    Well, this bug is just weird. The vars are now fixed but selecting the template is just weird. I would expect that filling in the template name/slug is just enough but you do have to fill in the content $template_content. That doesn't make sense to me. See:

    $template_content = array( array('name' => 'main', 'content' => $message['html']) );

    $message['html'] = '';
    $message['template']['name'] = 'just-a-template';
    $message['template']['content'] = $template_content;

  3. MC_Will
    Plugin Author

    Posted 3 years ago #


    This API call is a mirror of the Mandrill send-template call:

    If you were using more than one "editable zone" within your template, it would make more sense.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • wpMandrill
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic