diff --git a/providers/resend/src/lib/resend.provider.ts b/providers/resend/src/lib/resend.provider.ts index 49f4fed42e2..5f3cf57c11f 100644 --- a/providers/resend/src/lib/resend.provider.ts +++ b/providers/resend/src/lib/resend.provider.ts @@ -26,7 +26,7 @@ export class ResendEmailProvider implements IEmailProvider { async sendMessage( options: IEmailOptions ): Promise { - const senderName = this.config?.senderName; + const senderName = options.senderName || this.config?.senderName; const fromAddress = options.from || this.config.from; const response: any = await this.resendClient.sendEmail({