Exemplo n.º 1
0
 /// <summary>
 ///  STORE指令保存邮件标志 减去标志
 /// </summary>
 /// <param name="mailIndex"></param>
 /// <param name="storeFlags"></param>
 /// <returns></returns>
 public String STOREReduceFlagResponse(Int32 mailIndex, StoreFlags storeFlags)
 {
     streamWriter.WriteLine("A06 STORE " + mailIndex + " -FLAGS (\\" + storeFlags.ToString() + ")");
     streamWriter.Flush();
     response = readToEnd();
     return(response);
 }
Exemplo n.º 2
0
 /// <summary>
 ///  STORE指令保存邮件标志 添加标志
 /// </summary>
 /// <param name="startMailIndex"></param>
 /// <param name="endMailIndex"></param>
 /// <param name="storeFlags"></param>
 /// <returns></returns>
 public String STOREAddFlagResponse(Int32 startMailIndex, Int32 endMailIndex, StoreFlags storeFlags)
 {
     streamWriter.WriteLine("A06 STORE " + startMailIndex + ":" + endMailIndex + " +FLAGS (\\" + storeFlags.ToString() + ")");
     streamWriter.Flush();
     response = readToEnd();
     return(response);
 }
Exemplo n.º 3
0
 /// <summary>
 ///  STORE指令保存邮件标志 减去标志
 /// </summary>
 /// <param name="startMailIndex"></param>
 /// <param name="endMailIndex"></param>
 /// <param name="storeFlags"></param>
 /// <returns></returns>
 public String STOREReduceFlagResponse(Int32 startMailIndex, Int32 endMailIndex, StoreFlags storeFlags)
 {
     streamWriter.WriteLine("A06 STORE " + startMailIndex + ":" + endMailIndex + " -FLAGS (\\" + storeFlags.ToString() + ")");
     streamWriter.Flush();
     response = readToEnd();
     return response;
 }
Exemplo n.º 4
0
 /// <summary>
 ///  STORE指令保存邮件标志 添加标志
 /// </summary>
 /// <param name="mailIndex"></param>
 /// <param name="storeFlags"></param>
 /// <returns></returns>
 public String STOREAddFlagResponse(Int32 mailIndex, StoreFlags storeFlags)
 {
     streamWriter.WriteLine("A06 STORE " + mailIndex + " +FLAGS (\\" + storeFlags.ToString() + ")");
     streamWriter.Flush();
     response = readToEnd();
     return response;
 }