You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 28, 2023. It is now read-only.
mimi = MadMimi.new('emailaddress', 'api_key', { :raise_exceptions => true })
options = {
'promotion_name' => 'Test Promotion',
'recipients' => 'Nicholas Young [email protected]',
'from' => 'MadMimi Ruby [email protected]',
'subject' => 'Test Subject'
}
raw_html = "<title>My great promotion!</title>Body stuff[[tracking_beacon]]"
mimi.send_html(options, raw_html)
not send and not save. error Net::HTTPServerException (403 "Forbidden")
Only save when >
mimi.save_promotion('promotion_name', 'raw_html', 'plain_text') # saves a promotion (creates the promotion if it does not exist)
How to send promotion saved?
The text was updated successfully, but these errors were encountered: