public Append ( string messageLiteral, IFlagCollection flags, System.DateTime dateTime ) : string | ||
messageLiteral | string | The message in a Rfc822 compliant format. |
flags | IFlagCollection | Flags to be set for the message. |
dateTime | System.DateTime | The internal date to be set for the message. |
Результат | string |
public string Append(string messageLiteral, IFlagCollection flags, DateTime dateTime)
{
string firststamp = System.DateTime.Now.ToString("yyMMddhhmmss"+System.DateTime.Now.Millisecond.ToString());
this.SourceClient.Command("APPEND \"" + this.Name + "\" " + ((FlagCollection)flags).Merged + " " + dateTime.ToString("r") + " {" + (messageLiteral.Length) + "}", firststamp);
return this.SourceClient.Command(messageLiteral,"",firststamp);
}
Mailbox::Append ( ActiveUp.Net.Mail.Message message ) : string | |
Mailbox::Append ( ActiveUp.Net.Mail.Message message, IFlagCollection flags ) : string | |
Mailbox::Append ( ActiveUp.Net.Mail.Message message, IFlagCollection flags, System.DateTime dateTime ) : string | |
Mailbox::Append ( byte messageData ) : string | |
Mailbox::Append ( byte messageData, IFlagCollection flags ) : string | |
Mailbox::Append ( byte messageData, IFlagCollection flags, System.DateTime dateTime ) : string | |
Mailbox::Append ( string messageLiteral ) : string | |
Mailbox::Append ( string messageLiteral, IFlagCollection flags ) : string |