Skip to content

Commit

Permalink
update emailserver docs
Browse files Browse the repository at this point in the history
  • Loading branch information
A-Najmabadi committed Aug 17, 2024
1 parent 504fe68 commit 11aff45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export default async function handler(req, res) {
<div className="h-2" />
<Alert variant='info'>
<p>
با تنظیم <Important>requireTLS: true</Importantمی‌توانید به‌صورت امن (tls) اقدام به ارسال ایمیل‌های تراکنشی کنید.
طبق مستندات <a href="https://nodemailer.com/smtp/" className="text-[#2196f3]">nodemailer</aاین ماژول به صورت پیش‌فرض ایمیل‌ها را به صورت امن و رمزنگاری شده، ارسال می‌کند و نیازی نیست که شما، کار خاصی را انجام دهید.
</p>
</Alert>
<Alert variant='info'>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,6 @@ const MAIL_PASSWORD = process.env.MAIL_PASSWORD;
const transporter = nodemailer.createTransport({
host: MAIL_HOST,
port: MAIL_PORT,
requireTLS: true,
secure: false,
auth: {
user: MAIL_USER,
pass: MAIL_PASSWORD,
Expand All @@ -102,7 +100,7 @@ transporter.sendMail({
</Alert>
<Alert variant='info'>
<p>
با تنظیم <Important>requireTLS: true</Importantمی‌توانید به‌صورت امن اقدام به ارسال ایمیل‌های تراکنشی کنید.
طبق مستندات <a href="https://nodemailer.com/smtp/" className="text-[#2196f3]">nodemailer</aاین ماژول به صورت پیش‌فرض ایمیل‌ها را به صورت امن و رمزنگاری شده، ارسال می‌کند و نیازی نیست که شما، کار خاصی را انجام دهید.
</p>
</Alert>

Expand Down

0 comments on commit 11aff45

Please sign in to comment.