public static void SendMailText(
SmtpClient smtpClient,
NetworkCredential credential,
string subject,
string body,
MailAddressCollection addresses
)
Public Shared Sub SendMailText (
smtpClient As SmtpClient,
credential As NetworkCredential,
subject As String,
body As String,
addresses As MailAddressCollection
)
Dim smtpClient As SmtpClient
Dim credential As NetworkCredential
Dim subject As String
Dim body As String
Dim addresses As MailAddressCollection
UtilMail.SendMailText(smtpClient, credential,
subject, body, addresses)
public:
static void SendMailText(
SmtpClient^ smtpClient,
NetworkCredential^ credential,
String^ subject,
String^ body,
MailAddressCollection^ addresses
)
static member SendMailText :
smtpClient : SmtpClient *
credential : NetworkCredential *
subject : string *
body : string *
addresses : MailAddressCollection -> unit
No code example is currently available or this language may not be supported.
[Missing <param name="smtpClient"/> documentation for "M:DevCase.Core.Networking.Mailing.UtilMail.SendMailText(System.Net.Mail.SmtpClient,System.Net.NetworkCredential,System.String,System.String,System.Net.Mail.MailAddressCollection)"]
No code example is currently available or this language may not be supported.
Dim credential As New NetworkCredential("Username@Hotmail.com", "Password")
Dim addressCollection As New MailAddressCollection
addressCollection.Add(New MailAddress("address1@domain.com"))
addressCollection.Add(New MailAddress("address2@domain.com"))
SendMailText(DevCase.Core.NET.SmtpClients.MicrosoftLiveSmtpClient, credential, "Email Subject", "Message Body", addressCollection)
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.