2 * Copyright (c) 1998-2017 by the citadel.org team
4 * This program is open source software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 3.
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
14 const char *smtp_get_Recipients(void);
16 typedef struct _citsmtp { /* Information about the current session */
23 int number_of_recipients;
25 int message_originated_locally;
29 StrBuf *preferred_sender_email;
30 StrBuf *preferred_sender_name;
33 #define SMTP ((citsmtp *)CC->session_specific_data)
35 // These are all the values that can be passed to the is_final parameter of smtp_do_bounce()
42 void smtp_do_bounce(const char *instr, int is_final);
43 char *smtpstatus(int code);