Send some email to a list of contacts

Namespace: SynergyServerScripting.Entities
Assembly: SynergyServerScripting (in SynergyServerScripting.dll)

Public Shared Sub SendEmail( _ 
ByVal from As ContactInfo, _ 
ByVal template As EmailTemplate, _ 
ByVal to As List(Of ContactInfo), _ 
ByVal cc As List(Of ContactInfo), _ 
ByVal wait As Boolean, _ 
ByVal db As IDatabase
)
This language is not supported or no code example is available.
public static void SendEmail( 
ContactInfo from
EmailTemplate template
List<ContactInfo> to
List<ContactInfo> cc
bool wait
IDatabase db 
)
This language is not supported or no code example is available.
public:  
static void SendEmail( 
ContactInfo^ from
EmailTemplate^ template
List<ContactInfo^>^ to
List<ContactInfo^>^ cc
bool wait
IDatabase^ db 
)
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

from
Type: ContactInfo

who the email is from

template
Type: EmailTemplate

the email template to use

to
Type: List<ContactInfo>

who to send to

cc
Type: List<ContactInfo>

any ccs to send to

wait
Type: bool

whether or not to wait

db
Type: IDatabase

.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