Email.GetEmailTemplates Method

Get all email templates in the system
Public Shared Function GetEmailTemplates( _ 
ByVal db As IDatabase, _ 
ByVal get_stock_if_not_available As Boolean
) As List(Of EmailTemplate)
This language is not supported or no code example is available.
public static List<EmailTemplate> GetEmailTemplates( 
IDatabase db
bool get_stock_if_not_available 
)
This language is not supported or no code example is available.
public:  
static List<EmailTemplate^>^ GetEmailTemplates( 
IDatabase^ db
bool get_stock_if_not_available 
)
This language is not supported or no code example is available.
JScript does not support generic types and methods.
This language is not supported or no code example is available.

Parameters

db
IDatabase

the database to use

get_stock_if_not_available
bool

Return Value

List<EmailTemplate>

the list of templates

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1

In this article

Definition