function definitions for Qremote's handling of message bodies
More...
#include <sys/types.h>
Go to the source code of this file.
|
const char * | successmsg [] |
|
const char * | msgdata |
|
off_t | msgsize |
|
function definitions for Qremote's handling of message bodies
unsigned int need_recode |
( |
const char * |
buf, |
|
|
off_t |
len |
|
) |
| |
check if buffer has to be recoded for SMTP transfer
- Parameters
-
buf | buffer to scan |
len | length of buffer |
- Returns
- logical or of:
- 1: buffer has 8bit characters
- 2: buffer contains line longer 998 chars
- 4: header contains line longer 998 chars
void send_bdat |
( |
unsigned int |
recodeflag | ) |
|
send the message data as binary chunk
- Parameters
-
void send_data |
( |
unsigned int |
recodeflag | ) |
|
send the message data
- Parameters
-