public static void SendMailHtml(
SmtpClient smtpClient,
NetworkCredential credential,
string subject,
string body,
string address,
ICollection<Attachment> attachments
)
Public Shared Sub SendMailHtml (
smtpClient As SmtpClient,
credential As NetworkCredential,
subject As String,
body As String,
address As String,
attachments As ICollection(Of Attachment)
)
Dim smtpClient As SmtpClient
Dim credential As NetworkCredential
Dim subject As String
Dim body As String
Dim address As String
Dim attachments As ICollection(Of Attachment)
UtilMail.SendMailHtml(smtpClient, credential,
subject, body, address, attachments)
public:
static void SendMailHtml(
SmtpClient^ smtpClient,
NetworkCredential^ credential,
String^ subject,
String^ body,
String^ address,
ICollection<Attachment^>^ attachments
)
static member SendMailHtml :
smtpClient : SmtpClient *
credential : NetworkCredential *
subject : string *
body : string *
address : string *
attachments : ICollection<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.SendMailHtml(System.Net.Mail.SmtpClient,System.Net.NetworkCredential,System.String,System.String,System.String,System.Collections.Generic.ICollection{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")
Dim attachments As New Collection(Of Attachment) From {New Attachment("C:\File1.txt"), New Attachment("C:\File2.txt")}
SendMailHtml(DevCase.Core.NET.SmtpClients.MicrosoftLiveSmtpClient, credential, "Email Subject", "Message Body", "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.