WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Custom signing, return-path, tracking domain and a sub account header

[Resolved] Custom signing, return-path, tracking domain and a sub account header

Viewing 2 replies - 1 through 2 (of 2 total)
  • If you don’t want to change any code, you can use Mandrill’s Rules Engine to assign a subaccount and a signing domain, for example.

    Otherwise, you’ll want to customize how the mail is being sent. An overview of how you can modify this can be found on the Mandrill blog here.

    You’ll specifically want to add a filter to change those specific parameters in the $message that’s being passed to Mandrill.

    Thanks!

    function mandrill($message)
    {
    	$message['subaccount'] 	= "BilligeFifaCoins.dk";
    	$message['tracking_domain'] = "email.billigefifacoins.dk";
    	$message['signing_domain'] = "billigefifacoins.dk";
    	$message['return_path_domain'] = "bounce.billigefifacoins.dk";
        return $message;
    }
    add_filter('mandrill_payload', 'mandrill');

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Custom signing, return-path, tracking domain and a sub account header’ is closed to new replies.