Skip to main content

Action: gform_after_email

Fires after an email is sent

Parameters

NameTypeDescription
$is_successboolTrue is successfully sent. False if failed
$tostringRecipient address
$subjectstringSubject line
$messagestringMessage body
$headersarrayEmail headers
$attachmentsstringEmail attachments
$message_formatstringFormat of the email. Ex: text, html
$fromstringAddress of the sender
$from_namestringDisplayed name of the sender
$bccstringBCC recipients
$reply_tostringReply-to address
$entryarrayEntry object associated with the sent email
$ccstringCC recipients

Source

Defined in common.php at line 2366