Navigation: DocScript Reference > DocScript Functions >

Email Functions

 

 

 

 

Function

Description

[Email.Send](To, Message, Subject, Attachments, From, CC, BCC)

Sends a text email using the SMTP server defined in the DocuNECT Web Settings.

 

Parameter(s)

To – Who to send the email to. To specify more than one address use an array or one string with each address delimited by a semi-colon. This parameter is required.

Message – The message body. Must be a string. This parameter is required.

Subject – The subject header of the email. This parameter is required.

Attachments – List of file file paths to attach to the email. If more than one attachment can use an array or one string with each attachment path delimited by a semi-colon. This parameter is optional.

From – The address of the sender. This parameter is optional and if not used, the sender will be the cmsadmin email address..

CC - Who to cc the email to. If more than one address can use an array or one string with each address delimited by a semi-colon. This parameter is optional.

BCC - Who to bcc the email to. If more than one address can use an array or one string with each address delimited by a semi-colon. This parameter is optional.

[Email.SendHTML](To, Message, Subject, Attachments, From, CC, BCC)

Sends an HTML email using the SMTP server defined in the DocuNECT Web Settings.

 

Parameter(s)

To – Who to send the email to. To specify more than one address use an array or one string with each address delimited by a semi-colon. This parameter is required.

Message – The message body. Must be a string. This parameter is required.

Subject – The subject header of the email. This parameter is required.

Attachments – List of file file paths to attach to the email. If more than one attachment can use an array or one string with each attachment path delimited by a semi-colon. This parameter is optional.

From – The address of the sender. This parameter is optional and if not used, the sender will be the cmsadmin email address..

CC - Who to cc the email to. If more than one address can use an array or one string with each address delimited by a semi-colon. This parameter is optional.

BCC - Who to bcc the email to. If more than one address can use an array or one string with each address delimited by a semi-colon. This parameter is optional.

 

 

 

 

Copyright © 2024 Portford Solutions Group, Inc.