SmtpClient.To (gb.net.smtp)

Property Read To As String[]

Returns or sets the list of "To" recipients e-mail addresses.

This property is a string array, so that you can have several recipients for the same mail.

Examples

DIM hMail AS NEW SmtpClient

hMail.To.Add("[email protected]")
hMail.To.Add("[email protected]")
...
hMail.Send