Horje
How to set up Gmail SMTP

Send Mail from Your Gmail Full Set up


What is Gmail SMTP

The Gmail SMTP host is smtp.gmail.com. For secure connections, use port 587 (TLS) or 465 (SSL). You'll also need your Gmail username (your email address) and password, or an app password if you have 2-Step Verification enabled

What are the Settings for Gmail SMTP Service

  • Secure Connection: TLS/SSL
  • Password:

How to send Email using Gmail SMTP with PHPmailer

Send Email via Gmail SMTP Server in PHP using PHPMailer

Here is a PHP Script.

Installation and Configurations
  1. Download PHPmailer PHP Script
  2. Now, Unzip the downloaded zip file in your computer.
  3. Open index.php
  4. Edit lines from 33 to 37
  1. Now, Save index.php
  2. Then, Upload full folder of unzip edited to Your Domain root at Cpnael.
  3. Open Your domain in a Browser.
  4. Done

Output should be:

How to send Email using Gmail SMTP with PHPmailer




gmail server

Related Articles
How to set up Gmail SMTP Email Server

Single Articles
How to send Email using Gmail SMTP with PHPmailerEmail Server

Read Full:
Email Server
Type:
Develop
Category:
Web Tutorial
Sub Category:
Email Server
Uploaded by:
Admin
Views:
52