ResendService

class ResendService(envResendApiKey: String)

A service that sends emails through the Resend email API.

Parameters

envResendApiKey

the Resend API key used for authentication.

Constructors

Link copied to clipboard
constructor(envResendApiKey: String)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun sendEmail(from: Email, to: List<Email>, cc: List<Email> = emptyList(), bcc: List<Email> = emptyList(), subject: String, html: String)

Sends an email via the Resend API.