I'm using the mad_mimi_mailer gem to send mails via madmimi. I keep getting an error for a missing tracking beacon even when I've put it in.
This is the data being posted :
{
"body" => "--- |+\n --- {}\n \n",
"promotion_name" => "Something",
"raw_plain_text" => "[[tracking_beacon]]",
"from" => "XXX Team <
x...@xxx.com>",
"api_key" => "XXXXXXXXXXXXXXXXXXXXXXXXX",
"raw_html" => "<!DOCTYPE html>\n<html xmlns='
http://www.w3.org/1999/xhtml'>\n <body>\n <strong> Hi There</strong>\n [[tracking_beacon]]\n </body>\n</html>\n",
"list_name" => nil,
"recipients" => "
x...@xxxxxxxx.com",
"raw_yaml" => nil,
"subject" => "Welcome",
"name" => "XXxxxx",
"username" => "
xx...@xxxxxxxxxxx.com"
}
Any idea what could be wrong ?