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