KotakNet DotNet Library
Namespace:
KotakNet.Bridge
Assembly:
KotakNet.Bridge (in KotakNet.Bridge.dll) Version: 1.0.0.0 (1.0.22.702)
Syntaxpublic bool SendMail(
string userName,
string password,
string fromEmail,
string fromName,
string toEmail,
string toName,
string subject,
string body,
string smtpHost = "smtp.gmail.com",
int smtpPort = 587,
bool enableSsl = true,
bool isBodyHtml = true
)
Public Function SendMail (
userName As String,
password As String,
fromEmail As String,
fromName As String,
toEmail As String,
toName As String,
subject As String,
body As String,
Optional smtpHost As String = "smtp.gmail.com",
Optional smtpPort As Integer = 587,
Optional enableSsl As Boolean = true,
Optional isBodyHtml As Boolean = true
) As Boolean
Parameters
- userName
- Type: SystemString
- password
- Type: SystemString
- fromEmail
- Type: SystemString
- fromName
- Type: SystemString
- toEmail
- Type: SystemString
- toName
- Type: SystemString
- subject
- Type: SystemString
- body
- Type: SystemString
- smtpHost (Optional)
- Type: SystemString
- smtpPort (Optional)
- Type: SystemInt32
- enableSsl (Optional)
- Type: SystemBoolean
- isBodyHtml (Optional)
- Type: SystemBoolean
Return Value
Type:
Boolean
See Also