ActiveUp.Net.Mail.Mailbox.Append C# (CSharp) Метод

Append() публичный Метод

Appends the provided message to the mailbox.
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);
		}

Same methods

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