Skip to content

Commit

Permalink
bccに変更
Browse files Browse the repository at this point in the history
  • Loading branch information
Kubosaka committed Nov 16, 2024
1 parent d151b42 commit 6fb9dc5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/src/app/api/mailer/assginment/route.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { prisma } from "@lib/prisma";
import type { Assignment } from "@prisma/client";
import type { NextRequest } from "next/server";
import nodemailer from "nodemailer";

Expand Down Expand Up @@ -133,8 +132,8 @@ export async function POST(req: NextRequest) {

// メールの内容
const mailOptions = {
from: `Let'sPics運営`, // 送信元メールアドレス
to: usersEmails, // 送信先メールアドレス
from: `Let'sPics `, // 送信元メールアドレス
bcc: usersEmails, // 送信先メールアドレス
subject: "新しいお題が出ました!",
html: mailContent(word), // HTMLコンテンツとして送信
};
Expand Down

0 comments on commit 6fb9dc5

Please sign in to comment.