Pagina di Descrizione

Email

email

The object allows sending an email.

addbcc

Description

It allows you to add a recipient in bcc to the email.

Type Value

Format

email.addbcc(mail)

Typology

Metodo

Systems

Windows, Web, Android, IOS, Mac OS

Parametro

Tipo Valore

Description

mail

string

The email to add is

Examples

email.addbcc(`info@d-one.info`)

addcc

Description

It allows you to add a recipient in cc copy to the email.

Type Value

Format

email.addcc(mail)

Typology

Metodo

Systems

Windows, Web, Android, IOS, Mac OS

Parametro

Tipo Valore

Description

mail

string

The email to add is

Examples

email.addcc(`info@d-one.info`)

adddocument

Description

It allows you to add a document object as an attachment to the email. The attachment will be in PDF format.

Type Value

Format

email.adddocument(document, namefile)

Typology

Metodo

Systems

Windows, Web, Android, IOS, Mac OS

Parametro

Tipo Valore

Description

document

document

The object that contains the print to be sent.

namefile

string

The name of the file that will be used to save the document in pdf format.

Examples

email.adddocument(printer_order)

addfile

Description

It allows you to add a file as an attachment to the email.

Type Value

Format

email.addfile(path)

Typology

Metodo

Systems

Windows, Web, Android, IOS, Mac OS

Parametro

Tipo Valore

Description

path

string

The full path name where to retrieve the file to be attached.

Examples

email.addfile(`c:documentsdrawing.dwg)`

body

Description

Set the body of the email.

Type Value

string

Format

string = email.body

Typology

Proprietà

Systems

Windows, Web, Android, IOS, Mac OS

bodydocument

Description

Use a print created from a document object saved in html format as the body of the email.

Type Value

string

Format

string = email.bodydocument

Typology

Proprietà

Systems

Windows, Web, Android, IOS, Mac OS

clearcc

Description

Delete all the emails inserted as cc.

Type Value

Format

email.clearcc()

Typology

Metodo

Systems

Windows, Web, Android, IOS, Mac OS

Examples

email.clearcc()

cleardocument

Description

Delete all document objects inserted as attachments in the email.

Type Value

Format

email.cleardocument()

Typology

Metodo

Systems

Windows, Web, Android, IOS, Mac OS

Examples

email.cleardocument()

clearfile

Description

Delete all files attached to the email as attachments.

Type Value

Format

email.clearfile()

Typology

Metodo

Systems

Windows, Web, Android, IOS, Mac OS

Examples

email.clearfile()

enablessl

Description

Enable or disable the use of SSL channel for sending emails.

Type Value

boolean

Format

boolean = email.enablessl

Typology

Proprietà

Systems

Windows, Web, Android, IOS, Mac OS

messageerror

Description

Returns the possible error in case of failed email delivery.

Type Value

string

Format

string = email.messageerror

Typology

Proprietà

Systems

Windows, Web, Android, IOS, Mac OS

password

Description

Set the password for the email account to be used for sending.

Type Value

string

Format

string = email.password

Typology

Proprietà

Systems

Windows, Web, Android, IOS, Mac OS

portserver

Description

Set the port of the mailbox to use for sending.

Type Value

integer

Format

integer = email.portserver

Typology

Proprietà

Systems

Windows, Web, Android, IOS, Mac OS

send

Description

Proceed with sending the emails.

Type Value

boolean

Format

boolean = email.send()

Typology

Metodo

Systems

Windows, Web, Android, IOS, Mac OS

Examples

bool = email.send()

sendfrom

Description

Set the starting email.

Type Value

string

Format

string = email.sendfrom

Typology

Proprietà

Systems

Windows, Web, Android, IOS, Mac OS

sendto

Description

Set the recipient`s email address

Type Value

string

Format

string = email.sendto

Typology

Proprietà

Systems

Windows, Web, Android, IOS, Mac OS

smtpserver

Description

Set the smtp server address used for sending the email.

Type Value

string

Format

string = email.smtpserver

Typology

Proprietà

Systems

Windows, Web, Android, IOS, Mac OS

subject

Description

Set the subject of the email.

Type Value

string

Format

string = email.subject