汎用ソフトウェア開発⭐ リポ 0品質スコア 55/100
email-resend
Resend APIを使用した、お問い合わせフォームや予約リクエスト向けのメール送信機能です。ロケール対応テンプレートにより、多言語でのメール配信に対応しています。メール通知の実装、お問い合わせフォームの送信、トランザクションメールが必要な場合に活用できます。
description の原文を見る
Email sending via Resend API for contact forms and booking requests with locale-aware templates. Use when implementing email notifications, contact form submissions, or transactional emails.
SKILL.md 本文
注意: このスキルのライセンスは ライセンス未確認 です。本サイトでは本文プレビューのみを表示しています。利用前に GitHub の原本でライセンス条件をご確認ください。
Resend によるメール送信
環境設定
# .env.local
RESEND_API_KEY=re_...
CONTACT_TO_EMAIL=hello@studioname.com
Resend クライアント
// lib/resend.ts
import { Resend } from 'resend';
export const resend = process.env.RESEND_API_KEY
? new Resend(process.env.RESEND_API_KEY)
: null;
export function hasResend(): boolean {
return resend !== null;
}
コンタクトフォームメール
// lib/emails/contact.ts
import { resend } from '@/lib/resend';
import type { Locale } from '@/i18n.config';
interface ContactEmailParams {
name: string;
email: string;
phone?: string;
message: string;
...
詳細情報
- 作者
- Shree0310
- リポジトリ
- Shree0310/Achievr
- ライセンス
- 不明
- 最終更新
- 2026/4/17
Source: https://github.com/Shree0310/Achievr / ライセンス: 未指定