Resend Integration

Resend Integration

Send Emails via Resend

Install Now
2 installs

Resend Integration

resend.com Integration for Frappe

Resend Integration Workspace Screenshot

Installation

Follow this documentation to setup bench and then you can install this app by running the commands below:

shbench get-app NagariaHussain/resendintegrationbench --site <site-name> install-app resendintegration

Setup

Head over to your Resend dashboard and generate an API key, and paste it in Resend Settings:

Resend Settings Screenshot

Webhook Setup

Add webhook with URL:

https://<your-site-domain>/api/method/resendintegration.api.handleresend_webhook

Copy the signing secret from your webhook dashboard on Resend:

Resend Signing Secret

and paste it in Resend Settings in your Frappe instance.

Sending Broadcast Emails

Use the Resend Broadcast Email DocType.

API

You can send emails from your custom app or server scripts too:

pythonfrom resend_integration.api import send_resend_emails</p><p>send_resend_emails( "Get discount!", from_email="notifications@buildwithhussain.dev", to_emails=["faris@frappe.io"], email_html="<h1>Hey!</h1>", reply_to="hussain@frappe.io",)

> Note: You will need to verify your domain before you can use it to send emails. For example, in the above example, "buildwithhussain.dev" has been already verified from Resend dashboard.

License

AGPL 3.0

User Reviews

Write a review

No reviews yet, be the first to review.