public static Task SendMailTextAsync(
SmtpClient smtpClient,
NetworkCredential credential,
string subject,
string body,
string[] addresses,
params Attachment[] attachments
)
Public Shared Function SendMailTextAsync (
smtpClient As SmtpClient,
credential As NetworkCredential,
subject As String,
body As String,
addresses As String(),
ParamArray attachments As Attachment()
) As Task
Dim smtpClient As SmtpClient
Dim credential As NetworkCredential
Dim subject As String
Dim body As String
Dim addresses As String()
Dim attachments As Attachment()
Dim returnValue As Task
returnValue = UtilMail.SendMailTextAsync(smtpClient,
credential, subject, body, addresses,
attachments)
public:
static Task^ SendMailTextAsync(
SmtpClient^ smtpClient,
NetworkCredential^ credential,
String^ subject,
String^ body,
array<String^>^ addresses,
... array<Attachment^>^ attachments
)
static member SendMailTextAsync :
smtpClient : SmtpClient *
credential : NetworkCredential *
subject : string *
body : string *
addresses : string[] *
attachments : Attachment[] -> Task
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.SendMailTextAsync(System.Net.Mail.SmtpClient,System.Net.NetworkCredential,System.String,System.String,System.String[],System.Net.Mail.Attachment[])"]
[Missing <returns> documentation for "M:DevCase.Core.Networking.Mailing.UtilMail.SendMailTextAsync(System.Net.Mail.SmtpClient,System.Net.NetworkCredential,System.String,System.String,System.String[],System.Net.Mail.Attachment[])"]
No code example is currently available or this language may not be supported.
Dim credential As New NetworkCredential("Username@Hotmail.com", "Password")
Await SendMailTextAsync(DevCase.Core.NET.SmtpClients.MicrosoftLiveSmtpClient, credential, "Email Subject", "Message Body", {"address1@domain.com", "address2@domain.com"}, New Attachment("C:\File.txt"))
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.