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

◆ PrepareCommand()

static void System.Net.Mail.HelloCommand.PrepareCommand ( SmtpConnection conn,
string domain )
inlinestaticprivate

Definition at line 31 of file HelloCommand.cs.

32 {
33 if (conn.IsStreamOpen)
34 {
36 }
37 conn.BufferBuilder.Append(SmtpCommands.Hello);
38 conn.BufferBuilder.Append(domain);
39 conn.BufferBuilder.Append(SmtpCommands.CRLF);
40 }
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.SmtpCommands.Hello, System.Net.Mail.SmtpConnection.IsStreamOpen, and System.SR.SmtpDataStreamOpen.

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