📄 mimekeyword.java
字号:
public class MimeKeyword
{
public static String sReturnPath="Return-Path";
public static String sMessageID="Message-ID";
public static String sFrom="From";
public static String sTO="To";
public static String sSubject="Subject";
public static String sDate="Date";
public static String sVersion="MIME-Version";
public static String sContentEncode="Content-Transfer-Encoding";
public static String sContentType="Content-Type";
public static String sCc="Cc";
public static String sCharset="charset";
public static String sReplyTo="Reply-To";
public static String sStatus="Status";
public static String sBoundary="boundary";
public static String sContentName="name";
public static String sFileName="filename";
public static String sMimeTxt="This is a multi-part message in MIME format";
static boolean IsReturnPath(MailBuff MBuff){
return MBuff.BeginWithKeyword (sReturnPath);
}
static boolean IsMessageID(MailBuff MBuff){
return MBuff.BeginWithKeyword (sMessageID);
}
static boolean IsFrom(MailBuff MBuff){
return MBuff.BeginWithKeyword (sFrom);
}
static boolean IsTo(MailBuff MBuff){
return MBuff.BeginWithKeyword (sTO);
}
static boolean IsSubject(MailBuff MBuff){
return MBuff.BeginWithKeyword (sSubject);
}
static boolean IsDate(MailBuff MBuff){
return MBuff.BeginWithKeyword (sDate);
}
static boolean IsVersion(MailBuff MBuff){
return MBuff.BeginWithKeyword (sVersion);
}
static boolean IsContentEncode(MailBuff MBuff){
return MBuff.BeginWithKeyword (sContentEncode);
}
static boolean IsContentType(MailBuff MBuff){
return MBuff.BeginWithKeyword (sContentType);
}
static boolean IsCc(MailBuff MBuff){
return MBuff.BeginWithKeyword (sCc);
}
static boolean IsCharset(MailBuff MBuff){
return MBuff.BeginWithKeyword (sCharset);
}
static boolean IsReplyTo(MailBuff MBuff){
return MBuff.BeginWithKeyword (sReplyTo);
}
static boolean IsStatus(MailBuff MBuff){
return MBuff.BeginWithKeyword (sStatus);
}
static boolean IsBoundary(MailBuff MBuff){
return MBuff.BeginWithKeyword (sBoundary);
}
static boolean IsContentName(MailBuff MBuff){
return MBuff.BeginWithKeyword (sContentName);
}
static boolean IsFileName(MailBuff MBuff){
return MBuff.BeginWithKeyword (sFileName);
}
static boolean IsMimeTxt(MailBuff MBuff){
return MBuff.BeginWithKeyword (sMimeTxt);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -