mySobek Home   |   Help
Skip Navigation Links.
Expand <a href='http://sobekrepository.org/sobekcm' title='Sobek home page'>Project Home</a>Project Home
Expand <a href='http://sobekrepository.org/help' title='Online user help'>User Help</a>User Help
Expand <a href='http://sobekrepository.org/sobekcm/technical' title='Sobek home page'>Technical Help</a>Technical Help
Expand <a href='http://sobekrepository.org/software' title='Center for downloading all SobekCM-related software'>Download Center</a>Download Center
Training Videos
Collapse <a href='http://sobekrepository.org/codehelp' title='Details on each of the different classes, interfaces, properties, etc..'>Code Details</a>Code Details
MISSING BANNER
Code Details >> Engine_Library >> Email >> Email_Helper >> SendEmail Method >> SendEmail (String, String, String, Boolean, String)

Email_Helper.SendEmail Method (String, String, String, Boolean, String)



Sends an email using the currently selected email method ( i.e., direct SMTP or database mail )


Namespace: SobekCM.Engine_Library.Email
Assembly: SobekCM_Engine_Library (in SobekCM_Engine_Library.dll) Version: 4.10.0.0 (4.10.0.0)

Syntax

C#
public static bool SendEmail(
	string ToAddress,
	string Subject,
	string Body,
	bool isHtml,
	string InstanceName
)

Parameters

ToAddress
Type: System..::..String
To address for the email to send
Subject
Type: System..::..String
Subject line for the email to send
Body
Type: System..::..String
Body of the email to send
isHtml
Type: System..::..Boolean
If set to true, send the email as HTML format (vs. text format)
InstanceName
Type: System..::..String
Name of the current SobekCM instance

Return Value

Type: Boolean
TRUE if successful, otherwise FALSE

See Also



Version 4.10.0 ( last generated Monday, March 7, 2016 )