public Task<string> SendMessageTextAsync(
string subject,
string body,
MailAddressCollection addresses,
params Attachment[] attachments
)
Public Function SendMessageTextAsync (
subject As String,
body As String,
addresses As MailAddressCollection,
ParamArray attachments As Attachment()
) As Task(Of String)
Dim instance As GmailClient
Dim subject As String
Dim body As String
Dim addresses As MailAddressCollection
Dim attachments As Attachment()
Dim returnValue As Task(Of String)
returnValue = instance.SendMessageTextAsync(subject,
body, addresses, attachments)
public:
Task<String^>^ SendMessageTextAsync(
String^ subject,
String^ body,
MailAddressCollection^ addresses,
... array<Attachment^>^ attachments
)
member SendMessageTextAsync :
subject : string *
body : string *
addresses : MailAddressCollection *
attachments : Attachment[] -> Task<string>
No code example is currently available or this language may not be supported.
[Missing <returns> documentation for "M:DevCase.ThirdParty.Google.Gmail.GmailClient.SendMessageTextAsync(System.String,System.String,System.Net.Mail.MailAddressCollection,System.Net.Mail.Attachment[])"]
No code example is currently available or this language may not be supported.
Dim addressCollection As New MailAddressCollection
addressCollection.Add(New MailAddress("address1@domain.com"))
addressCollection.Add(New MailAddress("address2@domain.com"))
Await SendMessageTextAsync("Email Subject", "Message Body", addressCollection, 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.