Viewing 6 replies - 1 through 6 (of 6 total)
  • Been looking for same solution for a year

    Sorry I’m late, fellas.

    function addSubaccount($message) {
      $message['subaccount'] = "netmundo";
      $message['tracking_domain'] = "email.netmundo.com.br";
      $message['signing_domain'] = "netmundo.com.br";
      $message['return_path_domain'] = "email.netmundo.com.br";
      return $message;
    }
    add_filter('mandrill_payload', 'addSubaccount');

    You can delete the options you do not need. Just add this to your functions.php and you’re good to go.

    Actually I finally started to set up the subaccounts in Mandrill, then link each subsite with its unique API key, not I can view reports on just each sub site without anything additional. Unless, were you trying to accomplish something else?

    Angelica, would your code work if I was running same child theme on all subsites? All authentication happens under my email address so…

    The code would set the subaccount and from Mandrill you would be able to get reports in a easier way.

    I never worked with WP Multi before, but can you overwrite a setting per site? If you can, I’ll work out a new code for you.

    Well actually I am using the standard Mandrill plugin, I had forked one made for Multi but the dev dropped support on Github, but I didnt see the point. I’d love to get better reports. Currently each new site I have to create new key, then create subaccount, then set rule, and apply. See here: https://satori-design.d.pr/17EHS

    Angelica, have you done much work with Mandrill in terms of setting up custom templates for the different types of notifications that can get generate by WP by chance?

    Yeah, but i send the request for the template from x-headers on the email.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Associating site with sub-account’ is closed to new replies.