Get Settings
returns an array with the settings
Arguments
Save Settings
required: active (1 or 0 default is 0)
required: time_to_send (time formatted as HH:MM:SS)
returns 1 on success
Arguments
active |
in: 0, 1, required |
time_to_send |
date_format:H:i:s, required |
notification_user_ids |
string |
stop_groups |
string |
only_unique_emails |
boolean |
Get email template data with translations
returns an array with the data for all languages
Arguments
Save email template data
required: lang (2 character language code)
required: subject (subject of the email)
required: body (html formatted text)
optional: sender_name
optional: unsubscribe_link_text (text to show on the unsubscribe link)
returns 1 on success
Arguments
lang |
required, max:2 |
subject |
string, required |
body |
string, required |
sender |
string |
sender_name |
string |
unsubscribe_link_text |
string |
currentUserLang |
string |
text_body |
string |