How To Set Up SMTP Server In Gmail (SIMPLE!)

DavidEspinosa

Administrator
Developer
Verified member
Technician
VIP MEMBER

How To Set Up SMTP Server In Gmail (SIMPLE!)​

Sige—ito yung pinaka-simpleng step-by-step para makapag-send ka ng email gamit Gmail SMTP (pang website/app/PHP/WordPress/etc.). Settings nito ay galing sa Google Help docs. �
support.google.com +1
1) Ihanda yung Gmail account (para hindi “password incorrect”)
A. I-on ang 2-Step Verification
Kailangan ito para makagawa ng App Password. �
support.google.com
Punta sa Google Account → Security
Hanapin 2-Step Verification → enable (SMS/Authenticator/etc.)
B. Gumawa ng App Password (ito ang gagamitin mo sa SMTP)
Google Account → Security
Hanapin App passwords
Create one (pang “Mail” or “Other (Custom name)” like “My Website SMTP”)
I-copy yung 16-character app password (wag yung normal Gmail password)
Note: App password is required/standard approach for many apps/devices. �
support.google.com +1
2) Ilagay ang tamang Gmail SMTP settings
Gamitin mo ito sa app mo / hosting / email client: �
support.google.com
SMTP Host/Server: smtp.gmail.com
Username: full Gmail address mo (e.g. [email protected])
Password: yung App Password (hindi normal password)
Encryption + Port (pili ka ng isa):
TLS/STARTTLS: Port 587
SSL: Port 465
3) Example configs (copy-paste friendly)
PHP (PHPMailer style)
Copy code
Php
$mail->isSMTP();
$mail->Host = 'smtp.gmail.com';
$mail->SMTPAuth = true;
$mail->Username = '[email protected]';
$mail->Password = 'YOUR_16_CHAR_APP_PASSWORD';
$mail->SMTPSecure = 'tls'; // or 'ssl'
$mail->Port = 587; // 587 for tls, 465 for ssl
Node.js (Nodemailer)
Copy code
Js
const transporter = nodemailer.createTransport({
host: "smtp.gmail.com",
port: 587,
secure: false, // true if 465
auth: {
user: "[email protected]",
pass: "YOUR_16_CHAR_APP_PASSWORD",
},
});
WordPress (SMTP plugin fields)
SMTP Host: smtp.gmail.com
Encryption: TLS
Port: 587
Username: Gmail mo
Password: App Password
(If SSL, use port 465.) �
support.google.com
4) Quick test para sure
Mag-send ng test email sa sarili mo (same Gmail or ibang email)
Check Inbox + Spam
Pag pumasok—OK na.
5) Common errors (mabilis na fix)
“Username and Password not accepted”
Mali ang password (dapat App Password) �
support.google.com
Hindi naka-on ang 2-Step Verification (required) �
support.google.com
Mali port/encryption mismatch:
TLS = 587
SSL = 465 �
support.google.com
“Daily limit” / “Rate limit”
May sending limits si Gmail to prevent abuse/spam. �
Kung Google Workspace account ka, may documented per-user daily sending limits (varies by account type). �
support.google.com
support.google.com
 
Last edited:

Footer

Disclaimer: SikatPinoy.net is a discussion community. We do not host user-shared files. Links/content posted by members are their responsibility. For takedown requests, please contact us.
Back
Top