From 60b9cfd5abf4e2c68821b8435cc73ec3a7d1e058 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Fonseca?= Date: Sat, 5 Jul 2003 10:49:22 +0000 Subject: Better documentation. Support for more sendmail options. Error verification for libESMTP calls. --- message.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'message.h') diff --git a/message.h b/message.h index 52aba01..a4c4b15 100644 --- a/message.h +++ b/message.h @@ -30,8 +30,16 @@ typedef struct { struct list_head remote_recipients; /**< remote recipients */ struct list_head local_recipients; /**< local recipients */ - enum notify_flags notify; /**< libESMTP notificiation flags */ + /** \name Delivery Status Notification (DSN) flags */ + /*@{*/ + enum ret_flags ret; /**< reporting options */ + char *envid; /**< envelope identifier */ + enum notify_flags notify; /**< notification options */ + /*@}*/ + /** 8bit-MIME transport */ + enum e8bitmime_body body; + /** \name buffering */ /*@{*/ char *buffer; @@ -53,6 +61,8 @@ void message_set_reverse_path(message_t *message, const char *address); void message_add_recipient(message_t *message, const char *address); +void message_set_envid(message_t *message, const char *address); + unsigned message_parse_headers(message_t *message); size_t message_read(message_t *message, char *ptr, size_t size); -- cgit v1.2.3-2-g168b