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 struct citsmtp { /* Information about the current session */
21 int number_of_recipients;
23 int message_originated_locally;
27 StrBuf *preferred_sender_email;
28 StrBuf *preferred_sender_name;
31 #define SMTP ((struct citsmtp *)CC->session_specific_data)
33 // These are all the values that can be passed to the is_final parameter of smtp_do_bounce()
40 void smtp_do_bounce(const char *instr, int is_final);
41 char *smtpstatus(int code);