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
When sending a transactional message with the mandrill API, there is a flag, view_content_link, that can be set to tell mandrill to discard the sent message's content so that people who can access the logs can't click on "View content". This flag is true by default and must be hard-set to false.
However... the Message struct declares this field with omitempty, so you it won't be sent when set to false.
Removing omitempty would mean messages would always send view_content_link: false, it's a go quirk, I'm not sure if there is an "elegant" way to fix this. Maybe with a pointer to bool?
The text was updated successfully, but these errors were encountered:
When sending a transactional message with the mandrill API, there is a flag,
view_content_link
, that can be set to tell mandrill to discard the sent message's content so that people who can access the logs can't click on "View content". This flag is true by default and must be hard-set to false.However... the
Message
struct declares this field withomitempty
, so you it won't be sent when set to false.Removing
omitempty
would mean messages would always sendview_content_link: false
, it's a go quirk, I'm not sure if there is an "elegant" way to fix this. Maybe with a pointer to bool?The text was updated successfully, but these errors were encountered: