public static void SendMailText(
SmtpClient smtpClient,
string username,
string password,
string subject,
string body,
MailAddressCollection addresses,
params Attachment[] attachments
)
Public Shared Sub SendMailText (
smtpClient As SmtpClient,
username As String,
password As String,
subject As String,
body As String,
addresses As MailAddressCollection,
ParamArray attachments As Attachment()
)
Dim smtpClient As SmtpClient
Dim username As String
Dim password As String
Dim subject As String
Dim body As String
Dim addresses As MailAddressCollection
Dim attachments As Attachment()
UtilMail.SendMailText(smtpClient, username,
password, subject, body, addresses,
attachments)
public:
static void SendMailText(
SmtpClient^ smtpClient,
String^ username,
String^ password,
String^ subject,
String^ body,
MailAddressCollection^ addresses,
... array<Attachment^>^ attachments
)
static member SendMailText :
smtpClient : SmtpClient *
username : string *
password : string *
subject : string *
body : string *
addresses : MailAddressCollection *
attachments : Attachment[] -> 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.String,System.String,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"))
SendMailText(DevCase.Core.NET.SmtpClients.MicrosoftLiveSmtpClient, "Username@Hotmail.com", "Password", "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.