diff options
Diffstat (limited to 'libmail/smtpinfo.H')
| -rw-r--r-- | libmail/smtpinfo.H | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/libmail/smtpinfo.H b/libmail/smtpinfo.H new file mode 100644 index 0000000..c5dde86 --- /dev/null +++ b/libmail/smtpinfo.H @@ -0,0 +1,43 @@ +/* +** Copyright 2002, Double Precision Inc. +** +** See COPYING for distribution information. +*/ +#ifndef libmail_smtpinfo_h +#define libmail_smtpinfo_h + +#include <string> +#include <vector> +#include <map> + +#include "namespace.H" + +// +// This structure holds options for sending mail. +// + +LIBMAIL_START + +class smtpInfo { +public: + std::string sender; + // SMTP envelope sender + + std::vector<std::string> recipients; + // SMTP envelope recipients + + std::map<std::string, std::string> options; + // Options. Currently defined options: + // notls + // cram + // DSN=never,success,fail,delay + // RET=hdrs,full + // NOPIPELINING + // VERP (Courier extension) + // SECURITY (extension) + // POST (recipient list is empty, we think this is an nntp server) +}; + +LIBMAIL_END + +#endif |
