citadel
About:
Citadel
is an advanced messaging and collaboration system for groupware and BBS applications (preferred OS: Linux).
Fossies
Dox
:
citadel.tar.gz
("unofficial" and yet experimental doxygen-generated source code documentation)
Loading...
Searching...
No Matches
smtp_util.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 1998-2017 by the citadel.org team
3
*
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.
6
*
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.
11
*
12
*/
13
14
const
char
*
smtp_get_Recipients
(
void
);
15
16
struct
citsmtp
{
/* Information about the current session */
17
int
command_state
;
18
StrBuf *
Cmd
;
19
StrBuf *
helo_node
;
20
StrBuf *
from
;
21
StrBuf *
recipients
;
22
StrBuf *
OneRcpt
;
23
int
number_of_recipients
;
24
int
delivery_mode
;
25
int
message_originated_locally
;
26
int
is_lmtp
;
27
int
is_unfiltered
;
28
int
is_msa
;
29
StrBuf *
preferred_sender_email
;
30
StrBuf *
preferred_sender_name
;
31
};
32
33
#define SMTP ((struct citsmtp *)CC->session_specific_data)
34
35
// These are all the values that can be passed to the is_final parameter of smtp_do_bounce()
36
enum
{
37
SDB_BOUNCE_FATALS
,
38
SDB_BOUNCE_ALL
,
39
SDB_WARN
40
};
41
42
void
smtp_do_bounce
(
const
char
*instr,
int
is_final);
43
char
*
smtpstatus
(
int
code);
smtp_get_Recipients
const char * smtp_get_Recipients(void)
Definition:
smtp_util.c:53
SDB_BOUNCE_FATALS
@ SDB_BOUNCE_FATALS
Definition:
smtp_util.h:37
SDB_BOUNCE_ALL
@ SDB_BOUNCE_ALL
Definition:
smtp_util.h:38
SDB_WARN
@ SDB_WARN
Definition:
smtp_util.h:39
smtpstatus
char * smtpstatus(int code)
Definition:
smtp_util.c:305
smtp_do_bounce
void smtp_do_bounce(const char *instr, int is_final)
Definition:
smtp_util.c:72
citsmtp
Definition:
smtp_util.h:16
citsmtp::from
StrBuf * from
Definition:
smtp_util.h:20
citsmtp::is_msa
int is_msa
Definition:
smtp_util.h:28
citsmtp::OneRcpt
StrBuf * OneRcpt
Definition:
smtp_util.h:22
citsmtp::preferred_sender_email
StrBuf * preferred_sender_email
Definition:
smtp_util.h:29
citsmtp::command_state
int command_state
Definition:
smtp_util.h:17
citsmtp::is_unfiltered
int is_unfiltered
Definition:
smtp_util.h:27
citsmtp::helo_node
StrBuf * helo_node
Definition:
smtp_util.h:19
citsmtp::number_of_recipients
int number_of_recipients
Definition:
smtp_util.h:23
citsmtp::recipients
StrBuf * recipients
Definition:
smtp_util.h:21
citsmtp::delivery_mode
int delivery_mode
Definition:
smtp_util.h:24
citsmtp::Cmd
StrBuf * Cmd
Definition:
smtp_util.h:18
citsmtp::is_lmtp
int is_lmtp
Definition:
smtp_util.h:26
citsmtp::preferred_sender_name
StrBuf * preferred_sender_name
Definition:
smtp_util.h:30
citsmtp::message_originated_locally
int message_originated_locally
Definition:
smtp_util.h:25
server
modules
smtp
smtp_util.h
Generated by
1.9.6