en:actions:actionsendmail
Differences
This shows you the differences between two versions of the page.
| Previous revision | |||
| — | en:actions:actionsendmail [2021/02/13 11:23] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Send e-mail ====== | ||
| + | This action allows sending e-mails. It needs to connect to a mail server (SMTP). | ||
| + | |||
| + | //Added in Actiona **[[en: | ||
| + | |||
| + | ===== Standard parameters ===== | ||
| + | ==== Input Parameters ==== | ||
| + | == Server name == | ||
| + | The name of the mail server (SMTP). Can be the one from your Internet Service Provider (ISP). | ||
| + | == Secure connection == | ||
| + | If checked the action will use a safe connection (encrypted) to the mail server | ||
| + | == User name == | ||
| + | The user name to use when connecting to the server | ||
| + | == Password == | ||
| + | The password to use when connecting to the server | ||
| + | == Sender == | ||
| + | The sender' | ||
| + | == Receivers == | ||
| + | The receiver' | ||
| + | < | ||
| + | < | ||
| + | == Subject == | ||
| + | The mail's subject | ||
| + | == Content == | ||
| + | The mail's content (be careful, the content has to be in text format, HTML is not supported) | ||
| + | ===== Attachment ===== | ||
| + | ==== Input Parameters ==== | ||
| + | === Attachment name === | ||
| + | The attachment name, if empty no attachment will be used | ||
| + | === Attachment data === | ||
| + | The attachment content. Can be raw data, for example the content of a binary file stored into a variable | ||
| + | === Attachment content type === | ||
| + | The attachment content type | ||
| + | * Auto detect: the action will try to detect the content type | ||
| + | * Binary: the attachment content is raw data | ||
| + | * Text: the attachment content is text | ||
| + | * Jpg image: the attachment content is a JPG image | ||
| + | * Png image: the attachment content is a PNG image | ||
| + | ===== Advanced parameters ===== | ||
| + | ==== Input Parameters ==== | ||
| + | == Carbon copy (Cc) == | ||
| + | The carbon copy e-mail addresses, separated with a comma. For example: | ||
| + | < | ||
| + | < | ||
| + | == Blind carbon copy (Bcc) == | ||
| + | The blind carbon copy e-mail addresses, separated with a comma. For example: | ||
| + | < | ||
| + | < | ||
| + | == Server port == | ||
| + | The server port to use | ||
| + | == Extra headers == | ||
| + | The extra headers to add to the e-mail, one per line | ||
| + | |||
| + | ===== Exceptions ===== | ||
| + | |||
| + | * [[en: | ||
| + | * [[en: | ||
| + | * [[en: | ||
| + | * [[en: | ||
| + | * [[en: | ||
| + | |||
| + | ==== Connection error ==== | ||
| + | < | ||
| + | |||
| + | This exception is thrown when a connection to the mail server cannot be established. | ||
| + | * Default action: stop the script execution | ||
| + | |||
| + | ==== Error while sending e-mail ==== | ||
| + | < | ||
| + | |||
| + | This exception is thrown when an error occurs when sending the e-mail. | ||
| + | * Default action: stop the script execution | ||
