System.Net.Mail.MailMessage.Send C# (CSharp) Method

Send() private method

private Send ( System.Net.Mime.BaseWriter writer, bool sendEnvelope, bool allowUnicode ) : void
writer System.Net.Mime.BaseWriter
sendEnvelope bool
allowUnicode bool
return void
        internal void Send(BaseWriter writer, bool sendEnvelope, bool allowUnicode)
        {
            SetContent(allowUnicode);
            _message.Send(writer, sendEnvelope, allowUnicode);
        }

Usage Example

        public void Send()
        {
            // Type
            var @this = new MailMessage("[email protected]", "[email protected]", "Fizz", "Buzz");

            // Examples
            @this.Send(); // Send a mail
        }
All Usage Examples Of System.Net.Mail.MailMessage::Send