Click or drag to resize

HelperSendMail Method

KotakNet DotNet Library

Namespace:  KotakNet.Bridge
Assembly:  KotakNet.Bridge (in KotakNet.Bridge.dll) Version: 1.0.0.0 (1.0.22.702)
Syntax
public 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
)

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