📄 client.h
字号:
/*
* Embedded SMTP Client Header
*
* ./software/ch5/emsmtpd/client.h
*
* mtj@cogitollc.com
*
* Copyright 2001,2002 M. Tim Jones <mtj@cogitollc.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2, or (at your option) any
* later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
*/
#define MAX_SUBJECT 80
#define MAX_SNDR 80
#define MAX_RCPT 80
#define MAX_CONTENT 80
#define MAX_SPECIAL 256
struct mailHeader {
char subject[MAX_SUBJECT+1];
char sender[MAX_SNDR+1];
char recipient[MAX_RCPT+1];
char specialHeaders[MAX_SPECIAL+1];
char contentType[MAX_CONTENT+1];
char *contents;
};
int sendMail(struct mailHeader *);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -