Impose the use of SASL2, so that we can drop a lot of useless old dead code.
[apps/madmutt.git] / send_smtp.h
1 /*
2  * Copyright notice from original mutt:
3  * [none]
4  *
5  * This file is part of mutt-ng, see http://www.muttng.org/.
6  * It's licensed under the GNU General Public License,
7  * please see the file GPL in the top level source directory.
8  */
9
10 #ifndef _MUTT_LIBESMTP_H
11 #define _MUTT_LIBESMTP_H
12
13 #ifdef USE_LIBESMTP
14 #if (defined (USE_SSL) || defined (USE_GNUTLS))
15 int send_smtp_check_usetls (const char* option, unsigned long p,
16                                 char* errbuf, ssize_t errlen);
17 #endif
18
19 int send_smtp_invoke(address_t * from,       /* the sender */
20                          address_t * to, address_t * cc, address_t * bcc,
21                          const char *msg, int eightbit);
22 #endif
23
24 #endif /* !_MUTT_LIBESMTP_H */