diff options
author | Andris Zeila <andris.zeila@zabbix.com> | 2021-02-26 14:23:16 +0300 |
---|---|---|
committer | Andris Zeila <andris.zeila@zabbix.com> | 2021-02-26 14:23:16 +0300 |
commit | 42ed85a4f3987529b93670e8fa67e319f8f7c715 (patch) | |
tree | 8ae994ef12270dca273543af2135a832e37b5e22 /include/zbxmedia.h | |
parent | 48a6379f5d81af877e4e74ed22305067d337f376 (diff) |
........S. [ZBXNEXT-6478] added attachment sending support to emails
Diffstat (limited to 'include/zbxmedia.h')
-rw-r--r-- | include/zbxmedia.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/zbxmedia.h b/include/zbxmedia.h index 763e457d3c7..afe95b71600 100644 --- a/include/zbxmedia.h +++ b/include/zbxmedia.h @@ -38,7 +38,8 @@ int send_email(const char *smtp_server, unsigned short smtp_port, const char *sm const char *mailto, const char *inreplyto, const char *mailsubject, const char *mailbody, unsigned char smtp_security, unsigned char smtp_verify_peer, unsigned char smtp_verify_host, unsigned char smtp_authentication, const char *username, const char *password, - unsigned char content_type, int timeout, char *error, size_t max_error_len); + unsigned char content_type, int timeout, char *attachment_name, char *attachment_type, char *attachment, + size_t attachment_size, 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); #endif |