---
title: "Discussion on \"How to set up Gmail SMTP to Send Verification OTPs and Other Security Codes\" | Hashnode"
description: "Discussion on \"How to set up Gmail SMTP to Send Verification OTPs and Other Security Codes\". Learn how to enable 2-factor authentication and create an app password on your Gmail account to securely send verification OTPs and security codes."
url: "https://hashnode.com/posts/how-to-set-up-gmail-smtp-to-send-verification-otps-and-other-security-codes/64546a1a2c6746720781a9d5"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to set up Gmail SMTP to Send Verification OTPs and Other Security Codes](https://devkavin.hashnode.dev/how-to-set-up-gmail-smtp-to-send-verification-otps-and-other-security-codes?utm_source=hashnode&utm_medium=feed)

Learn how to enable 2-factor authentication and create an app password on your Gmail account to securely send verification OTPs and security codes.

May 5, 2023 · 2 min read · devkavin.hashnode.dev  
Updated May 6, 2023  
Read the article

-   [#2-factor-authentication](https://hashnode.com/tag/2-factor-authentication)
-   [#smtp](https://hashnode.com/tag/smtp)
-   [#gmail-smtp](https://hashnode.com/tag/gmail-smtp)
-   [#gmail-app-password](https://hashnode.com/tag/gmail-app-password)
-   [#sending-otp-from-gmail](https://hashnode.com/tag/sending-otp-from-gmail)

## Written by

[Kavindra Senanayake](https://hashnode.com/@devkavin)

@devkavin · Sri Lanka

  
[View profile](https://hashnode.com/@devkavin)

Software Eng. Student at Kingston University

Code enthusiast, problem solver, who's interested in exploring the latest trends and advancements in software development.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
