[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="contact@bbforms.com"
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="contact@bbforms.com"
to="email_1@bbforms.com,email_2@bbforms.com"
to="{field.email_123}"
Comma-separated list of email addresses to send the email.
Required.
cccc="contact@bbforms.com"
cc="email_1@bbforms.com,email_2@bbforms.com"
cc="{field.email_123}"
Comma-separated list of email addresses to be used for carbon copy.
Optional.
bccbcc="contact@bbforms.com"
bcc="email_1@bbforms.com,email_2@bbforms.com"
bcc="{field.email_123}"
Comma-separated list of email addresses to be used for blink carbon copy.
Optional.
reply_toreply_to="contact@bbforms.com"
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.