diff options
author | Andris Zeila <andris.zeila@zabbix.com> | 2021-02-28 10:38:52 +0300 |
---|---|---|
committer | Andris Zeila <andris.zeila@zabbix.com> | 2021-02-28 13:45:30 +0300 |
commit | f79e31c4e9697fe065a700e7aec7bc863e8a2449 (patch) | |
tree | 950903eeb151304235443dd2489683429ac43304 /include/zbxmedia.h | |
parent | a3f13ee0a0388c061b8f35e0375dd89282a55cd6 (diff) |
.......PS. [ZBXNEXT-6478] added report dispatching support to alerter service, removed alert testing stubs from proxy code
Diffstat (limited to 'include/zbxmedia.h')
-rw-r--r-- | include/zbxmedia.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/zbxmedia.h b/include/zbxmedia.h index fb5dd773836..b8a7d698088 100644 --- a/include/zbxmedia.h +++ b/include/zbxmedia.h @@ -24,7 +24,7 @@ #define ZBX_MEDIA_CONTENT_TYPE_TEXT 0 #define ZBX_MEDIA_CONTENT_TYPE_HTML 1 -#define ZBX_MEDIA_CONTENT_TYPE_MULTI 2 /* multipart/mixed message with pre-formatted message body */ +#define ZBX_MEDIA_CONTENT_TYPE_MULTI 2 /* multipart/mixed message with pre-formatted message body */ extern char *CONFIG_SOURCE_IP; @@ -42,7 +42,7 @@ int send_email(const char *smtp_server, unsigned short smtp_port, const char *sm unsigned char content_type, int timeout, char *error, size_t max_error_len); int send_sms(const char *device, const char *number, const char *message, char *error, int max_error_len); -char *zbx_email_make_body(const char *message, unsigned char content_type, const char *attachment, - size_t attachment_size, const char *attachment_type, const char *attachment_name); +char *zbx_email_make_body(const char *message, unsigned char content_type, const char *attachment_name, + const char *attachment_type, const char *attachment, size_t attachment_size); #endif |