diff options
Diffstat (limited to 'src/vmime/net/smtp/SMTPTransport.hpp')
-rw-r--r-- | src/vmime/net/smtp/SMTPTransport.hpp | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/src/vmime/net/smtp/SMTPTransport.hpp b/src/vmime/net/smtp/SMTPTransport.hpp index 67c63a55..26d86ea1 100644 --- a/src/vmime/net/smtp/SMTPTransport.hpp +++ b/src/vmime/net/smtp/SMTPTransport.hpp @@ -78,7 +78,10 @@ public: utility::inputStream& is, const size_t size, utility::progressListener* progress = NULL, - const mailbox& sender = mailbox() + const mailbox& sender = mailbox(), + const std::string& dsnNotify = std::string(), + const std::string& dsnRet = std::string(), + const std::string& dsnEnvelopId = std::string() ); void send( @@ -86,7 +89,10 @@ public: const mailbox& expeditor, const mailboxList& recipients, utility::progressListener* progress = NULL, - const mailbox& sender = mailbox() + const mailbox& sender = mailbox(), + const std::string& dsnNotify = std::string(), + const std::string& dsnRet = std::string(), + const std::string& dsnEnvelopId = std::string() ); bool isSecuredConnection() const; @@ -108,13 +114,19 @@ private: * @param sender envelope sender (if empty, expeditor will be used) * @param sendDATACommand if true, the DATA command will be sent * @param size message size, in bytes (or 0, if not known) + * @param dsnNotify comma separated list of notification conditions as specified in RFC 1891 + * @param dsnRet content of DSN - full message or headers only ("FULL" or "HDRS") + * @param dsnEnvelopId envelop ID to be able to pair the DSN with the original message */ void sendEnvelope( const mailbox& expeditor, const mailboxList& recipients, const mailbox& sender, bool sendDATACommand, - const size_t size + const size_t size, + const std::string& dsnNotify, + const std::string& dsnRet, + const std::string& dsnEnvelopId ); |