Code Monkey home page Code Monkey logo

send-email's Introduction

Send-Email

Simple mail sending by PHPMailer and Create your local system. Send mail zero of cost and also send Attachment like Photo, pdf and multiple files. You should be create a login and verify two steps authentication like OTP, verifications ๐Ÿ”— link. PHPMailer make your dreams project eassy and simple also free of cost.

How to setup phpmailer

  • First one go to your XAMMP, WAMP, LAMP and MAMP htdocs folder.
  • Create your project folder.
  • Install PHPMailer in your system by composer (CLI) and another way download from to github phpmailer zip folder.
  • PHPMailer zip Extract your system.
  • Copy to PHPMailer all files and folder your Project folder paste here.

Working in your index.php

  • First one create your UI design.
  • Second one is Basic knowledge of SMTP.

Working on sendmail.php

  • First one is check your PHPMailer Path.
  • Import your PHPMailer.php, SMTP.php and last one is Exception.php .
  • Write your logic.
  • Code running good after MailDebug value your change. Like 0.

Gmail SMTPS

$mail->SMTPSecure = 'ssl';
$mail->Host = 'ssl://smtp.gmail.com';
$mail-Port = 465;

# Gmail STARTSMTP

$mail->Host = 'tls://smtp.gmail.com';
$mail->Port = 587;
$mail->SMTPSecure = 'tls';

Mail sending failed.

Problem Solve

  • Can you used your gmail account in your project so you change your gmail accent setting.
  • Make sure first one disabled two steps Authentication.
  • Second one is Enable to your IMAP.
  • Last one is less secure access on (Enable).
  • You make a responsive UI so you used Bootstrap css framework.
<code>Happy Coding.</code>

send-email's People

Contributors

ashishkumbhar01 avatar

Stargazers

Sushil Kumar avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.