Send contribution receipt
civicrm_send_contribution_receiptSend or resend a standard receipt email for a contribution, supporting optional CC, BCC, and custom receipt body text.
Instructions
Send (or re-send) the standard receipt email for a contribution. Wraps Contribution.sendconfirmation. Requires CIVICRM_ALLOW_WRITES=true because the call triggers an outbound email.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | Optional CC address. | |
| bcc | No | Optional BCC address. | |
| receipt_text | No | Override the receipt body. Omit to use the configured contribution-page receipt template. | |
| from_email_id | No | Optional id of the OptionValue / SiteEmailAddress to send from. Defaults to the default 'from' address configured in CiviCRM. | |
| contribution_id | Yes | Id of the contribution to send a receipt for. |