SmtpSend.AddMessage

AddMessage(string, string, string, string)

Add a message to send.

public SmtpSend AddMessage(string from, string recipients, string subject, string body)
ParameterTypeDescription
fromStringA String that contains the address of message sender.
recipientsStringA String that contains the address of recipients.
subjectStringA subject of message.
bodyStringA body of message.

See Also


AddMessage(MailMessage)

Add a message to send.

public SmtpSend AddMessage(MailMessage message)
ParameterTypeDescription
messageMailMessageThe message to send.

See Also