Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ PrepareCommand()

static void System.Net.Mail.RecipientCommand.PrepareCommand ( SmtpConnection conn,
string to )
inlinestaticprivate

Definition at line 40 of file RecipientCommand.cs.

41 {
42 if (conn.IsStreamOpen)
43 {
45 }
46 conn.BufferBuilder.Append(SmtpCommands.Recipient);
47 conn.BufferBuilder.Append(to, allowUnicode: true);
48 conn.BufferBuilder.Append(SmtpCommands.CRLF);
49 }
static string SmtpDataStreamOpen
Definition SR.cs:154
Definition SR.cs:7

References System.Net.Mail.BufferBuilder.Append(), System.Net.Mail.SmtpConnection.BufferBuilder, System.Net.Mail.SmtpCommands.CRLF, System.Net.Mail.SmtpConnection.IsStreamOpen, System.Net.Mail.SmtpCommands.Recipient, and System.SR.SmtpDataStreamOpen.

Referenced by System.Net.Mail.RecipientCommand.BeginSend(), and System.Net.Mail.RecipientCommand.Send().