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
Thanks for reaching out about this. We currently have a change in progress to update the remaining language examples on the Developer Instructions page and will have this out shortly.
Hopefully this PHP wrapper has the information you need in the meantime. If you require any further information you can also visit our API docs here --> https://www.campaignmonitor.com/api/transactional/
Apologies for any convenience and stay tuned for the pending changes!
@stutotman Good to know thanks,
Yes I found those API docs useful.
One thing that was not immediately apparent was how to tell if the email was a success from the result.
After digging through the inheritance I found the was_successful() method.
if (!$result->was_successful()) {
throw new Exception("Unable to send email: " + $result->http_status_code);
}
Forgive me if this is already well known, I'm a new user to this API.
Yes, the release and history.md do have a note about the breaking changes.
The Campaign Monitor example given through the "Developer Instructions" on the admin screens may need to be updated?
Perhaps a quick note to it for the PHP tab as the send methods do not have a default value for the ConsentToTrack.
Note: $consent_to_track is now mandatory as a breaking change to the API. (2nd arg to CS_REST_Transactional_SmartEmail::send).
The text was updated successfully, but these errors were encountered: