phpmailer How To Use - Super Easy in 6 minutes!

phpmailer How To Use - Super Easy in 6 minutes!


Here I quickly get you up and running using the phpmailer code so you can start sending emails from your localhost. Everything you need is at website: github. You will also need your smtp port number and the smtp server name from your email system.

If you want to pass a variable from a form that is just as easy. Set up your form as usual. On the page you setup for passing the variable, do something like: $user_email =$_POST['email'];

Then use the variable $user_email instead of putting an actual email address for the recipient. It's that simple!
Closed Caption:

hello everyone i'm going to show you how
to use PHP mailer HP mail system for
your local house want to make this quick
and easy
go to google and type in PHP mailer and
then go to the github site github.com
phpmailer click on that two things are
going to need from the site
this download zip this is the actual PHP
mailer information that you need
containing the files that you need and
then down here for the down the page
you're going to need this example this
example we'll send an email and just
validate that everything worked
correctly so and it does a good job of
explaining what's going on here
so we're going to start by copying this
don't copy the PHP the opening piece
here just start from the require and
then go down as they forgot to put they
forgot to close this so
so
copy that clip 1
and then download this download zip so
download that already downloaded it so
I'm not going to do it again called PHP
master zip
it's kind of a weird name I would rename
it if I were you I did myself so save it
I'm going to get canceled though and
then once you save it copy it into your
www directory
I've done that already and i renamed to
from PHP mailer master to PHP mailer
so that's there and then in here is the
actual file that we're going to use
phpmailer autoload so we're going to
start with that
so phpmailer autoload actually in the
phpmailer folder so we have to make sure
we have the path right you can see down
here that in the example they just have
the file name and they don't give you
actual path I don't put the the folder
if you copy it with that folder there
i'll show you in a second
ok so I'm going to get rid of this
remember we didn't copy the opening and
ending part of PHP so do that now
just like that all right and then paste
and all that information that you've got
from the clipboard and then we're going
to change this here
the path was PHP mailer for me
/and the net that file i'll show you
again
I'm ewww directory for me the file the
folders phpmailer so i had to add that
here and then in here is that
autoload PHP file that you need
there it is okay so we're done with that
now start to change the information here
go back to Google
and type in whatever you use for an
email system is G baby yahoo i use
comcast i'm going to put in comcast smtp
need some smtp configuration information
ok comcast uses for their default port
it's 587 and smtp server name is smtp
comcast.net you're going to need that
maybe yours smtp.gmail.com net or yahoo
dot net or whatever it is
so back to my file right here was a
specified main and backup S&P tea
servers
i'm going to change that to smtp .
comcast
not yet
and then the port the port was 587 for
me so i have to change anything here but
you would change that to report to the
correct port number now
here you're going to change its this to
you actually username and password for
the for your gmail account or yahoo
account
maybe your mic at gmail
and then your password don't forget to
use upper case if you have upper cases
uppercase letters in your password
so that's done and then right here it
says add a recipient make this yourself
so you can test that this works
so again I would do for me mike @
gmail.com
please don't actually email mike @
gmail.com or somebody else like yourself
so yeah you most likely want to make the
recipient yourself that you can test or
whatever you're doing you're testing
your system and then the rest of the
information we're going to leave alone
all this will make sense once you
actually get an email from yourself and
then you can go back in here and change
all these values
ok so then down here is where the actual
mail function is used and then it goes
out this if you don't do it correctly
delticos message has been sent now of
course in this example I didn't actually
save this PHP file with my actual
information this isn't this isn't
correct
so
here I made mail about PHP where I have
my actual email information in my
password information
so this should all be set up this should
all be ready to go
so I'm going to love this mail about PHP
instead
HTTP maps
house PHP
oops yeah
ok male or dot PHP ok so that's my file
and enter
you can see that i got message has been
sent which again is this your echo
message has been sent
which means that i have successfully
sent the email again it didn't pass
excuse me pass information from one site
to another or from one page to another
excuse me
so there's no form to fill out just
loading this page actually send the
email and now what you want to do at
this point is go check your actual email
going to email account and see that
you've actually received this email
that's it hope this is helpful and have
any questions leave me a comment

Video Length: 06:38
Uploaded By: jamblam
View Count: 76,082

Related Software Products
Easy SMTP Server
Easy SMTP Server

Published By:
SoftFolder Inc

Description:
Send e-mail messages easily and securely from your portable PC while you are traveling around the world! Every time you change your location connecting your PC to different Internet Service Providers (ISPs), you must reconfigure your e-mail program to be able to send messages via different SMTP servers you have to use. Easy SMTP Server is a simple easy-to-use program working in background that lets you send e-mail messages directly from your PC bypassing ISP's SMTP servers. Using this program ...


Related Videos
How to Send Emails in WordPress Using the Gmail SMTP Server
How to Send Emails in WordPress Using the Gmail SMTP Server

Are you having trouble sending emails from your WordPress site? One easy way to solve this is by sending emails from WordPress using the Gmail SMTP server. In this video we will show you how to send email in WordPress using the Gmail SMTP server. Text version of this tutorial: http://www.wpbeginner.com/plugins/how... If you liked this video, then please Like and consider subscribing to our channel for more WordPress videos. Check us out on Facebook:br ...
Video Length: 08:53
Uploaded By: WPBeginner - WordPress Tutorials
View Count: 29,439

How to find the SMTP Email Server for an e-mail address : iYogi
How to find the SMTP Email Server for an e-mail address : iYogi

Are you looking for the steps to find the SMTP e-mail server for an e-mail address? Get to know about easy steps to find the SMTP Email Server for an e-mail address by watching this video. iYogi™ tech support can be accessed 24x7 at 1-877-524-9644 from the U.S. or Canada, or at 0-800-635-0761 from the U.K. hr / bClosed Caption:/b hi friends are you looking for the steps to find the smtp email server for an email address let's go ahead and ...
Video Length: 01:46
Uploaded By: HowtoSupport
View Count: 4,690

SMTP2GO Review - Best & Cheap SMTP Server Service |Outgoing SMTP Server Provider
SMTP2GO Review - Best & Cheap SMTP Server Service |Outgoing SMTP Server Provider

See Full Smtp2go Review at: http://www.bestsmtpserver.com/ Click the link for more information on Smtp2go -Best SMTP Service Provider- You have had an experience of sending emails through portable computers, such as notebook, PDA or cell phone from away using direct SMTP not web based one. A web based ones are unprofessional email accounts which may delay your works and also, it is not east to keep track your emails not in safe. You can also modify SMTP manually in different places ...
Video Length: 01:14
Uploaded By: Best SMTP Service Provider
View Count: 3,710

Atomic SMTP Server for email marketing
Atomic SMTP Server for email marketing

Sign up for a free plan at http://massemailtools.com/smtp/ Atomic SMTP Service provides you with the quality SMTP server. Easy mailing without additional tools installation. Free plan SMTP FREE is available. This is like a smtp server hosting! Email marketing is now much more affordable with easy atomic smtp setup which brings your email marketing to a next level. It is a perfect solution for trasactional emails, sending emails to your clients, email ...
Video Length: 01:08
Uploaded By: Email Marketing Software
View Count: 1,137

Asset: Configuring SMTP Server Settings from www.asapsystems.com
Asset: Configuring SMTP Server Settings from www.asapsystems.com

ASAP Systems offers inventory, asset software and inventory Asset control tracking platform, designed to provide all size businesses, healthcare, government, education and service organizations the efficiency of large companies, at prices that are affordable. It is a known fact that Inventory and Asset Control reduces costly inventory or asset tracking errors, improves customer service, and will increase the value of your business. Our inventory and asset platforms are easy to use ...
Video Length: 01:11
Uploaded By: ASAP Systems
View Count: 542

Using your own SMTP server with PhoneBurner
Using your own SMTP server with PhoneBurner

This week’s video we talk about how easy it is to set up and use your own outgoing mail server through PhoneBurner. Using your own SMTP server settings is a great option for improving mail delivery as well. If you haven't set up your trial account yet make sure you go to http://phoneburner.biz to start your free trial hr / bClosed Caption:/b hello and welcome to the phone burner training this is that don't be complicated training series and I'm ...
Video Length: 03:52
Uploaded By: PhoneBurner Training By Jeff Osness
View Count: 206

SMTP Server ( Sell-email.us )
SMTP Server ( Sell-email.us )

Free SMTP -- Free Mailer -- Free Webmail -- Free SSH -- Free VPN http://www.sell-email.us/forum/@ Free Leads ( E-mail list ): http://www.sell-email.us/forum/@ For 2-years anniversary of Email-Marketing Establishment, we give you 1,000 emails list when you contact us: • Email: smtpstore@yahoo.com • Yahoo! Messenger: smtpstore • Website: http://www.sell-email.us/forum/@ This is a short description to create powerful Email-Marketing Campaign -- future trend in ...
Video Length: 02:27
Uploaded By: JacksonTerry889
View Count: 170

Dedicated Email SMTP Server
Dedicated Email SMTP Server

If you are looking to send large amount of emails, then PHP Scripts Mall is the perfect solution for you. Our Basic SMTP Server is send 10, 000 mail per day. If you purchase this script from us the high advantage is that you can have high delivery rate because we follow the spam rules and regulations for our server. Our IP address is automatically protected for every mails, so you can have an increased inbox delivery rate. Our Dedicated Email SMTP Server is exceptional value but lowest cost in ...
Video Length: 01:07
Uploaded By: PHP Scripts Mall
View Count: 91

Copyright © 2025, Ivertech. All rights reserved.