[email] – Send email

[email from="" from_name="" to="" cc="" bcc="" reply_to="" subject=""]Email Body[/email]

Action to send an email. You can place this action multiple times to send multiples emails, for example, send a confirmation email to the form submitter and a notification email to the site admin.

Attributes:

AttributeExamplesDescription
fromfrom="[email protected]"
from="{field.email_123}"
from="{site.admin_email}"
From email.
Optional.
from_namefrom_name="BBForms"
from_name="{field.text_123}"
from_name="{site.name}"
From name.
Optional.
to*to="[email protected]"
to="[email protected],[email protected]"
to="{field.email_123}"
Comma-separated list of email addresses to send the email.
Required.
cccc="[email protected]"
cc="[email protected],[email protected]"
cc="{field.email_123}"
Comma-separated list of email addresses to be used for carbon copy.
Optional.
bccbcc="[email protected]"
bcc="[email protected],[email protected]"
bcc="{field.email_123}"
Comma-separated list of email addresses to be used for blink carbon copy.
Optional.
reply_toreply_to="[email protected]"
reply_to="{field.email_123}"
reply_to="{site.admin_email}"
Email address to be used for when replying to this email.
Optional.
subject*subject="New Submission"The email subject.
Required.
attachmentsattachments="PATH/file.png"
attachments="PATH/file_1.png,PATH/file_2.pdf"
attachments="{field.file_123}"
attachments="{field.file_1},{field.file_2}"
Comma-separated list of file paths to attach.
Optional.
CONTENT*[email]Email Body[/email]The content inside the BBCode will be used as the email body.
Required.