Enable Send Email in XAMPP
-
Upload
laomusic-arts -
Category
Documents
-
view
223 -
download
0
Transcript of Enable Send Email in XAMPP
8/10/2019 Enable Send Email in XAMPP
http://slidepdf.com/reader/full/enable-send-email-in-xampp 1/5
e Send Email in XAMPP - Shellcreeper.com
shellcreeper.com/enable-send-email-in-xampp/#Edit-your-php.ini-in-xamppphpphp.ini[05.08.2013 15:36:14]
Home › Blog › Web Dev Log › Enable Send Email in XAMPP
SHELLCREEPER@turtlepod, WordPress, and random thoughts
Enable Send Email in XAMPPHow to enable email send in XAMPP lite with Google SMTP
I use XAMPP lite 2.5 USB version, and the thing i hate about it is that i cannot test email
notification in my WordPress install. This is very crucial to test eCommerce site so i can meke sure
the system deliver email to user, or in bbPress to check user subscricribtion is working, and you
can also be creative and use it for a very simple email newsletter, etc.
I used to create a live test site just to check this. But not anymore since i found this tutorial How to
send email from XAMPP (PHP).
However the tutorial is not working, maybe it’s different XAMPP version. This is the working code
i’m using:
Edit your php.ini in “xampp\php\php.ini”
first always make backup, just in case.
And change this in line 1086:
TABLE OF CONTENTS
Edit your php.ini in "xampp\php\php.ini"
Edit your sendmail.ini "xampp\sendmail\sendmail.ini"
[ mai l f uncti on]; For Wi n32 onl y.
; htt p: / / php. net / smt p
SMTP = l ocal host
; ht t p: / / php. net / smt p- port
smt p_por t = 25
; For Wi n32 onl y.
; ht t p: / / php. net / sendmai l - f rom
; sendmai l _f r om= post mast er@l ocal host
ome Life Web Dev Review Portfolio Services Contact tweet Search this site...
8/10/2019 Enable Send Email in XAMPP
http://slidepdf.com/reader/full/enable-send-email-in-xampp 2/5
e Send Email in XAMPP - Shellcreeper.com
shellcreeper.com/enable-send-email-in-xampp/#Edit-your-php.ini-in-xamppphpphp.ini[05.08.2013 15:36:14]
to:
Change {your gmai l user name} with your own without the bracket.
Edit your sendmail.ini “xampp\sendmail\sendmail.ini”
Always backup first before editing your sendmail.ini.
comment this two line (just add “;” before it)
to
and add this in the bottom of your sendmail,ini:
; For Uni x onl y. You may suppl y ar gument s as wel l ( def aul t :
"sendmai l - t - i " ) .
; htt p: / / php. net / sendmai l - pat h
; sendmai l _pat h = "\ "\ XAMPP\ sendmai l \ sendmai l . exe\ " - t "
[ mai l f uncti on]
; For Wi n32 onl y.
; htt p: / / php. net / smt p
SMTP = smt p. gmai l . com
; ht t p: / / php. net / smt p- port
smt p_por t = 587
; For Wi n32 onl y.
; ht t p: / / php. net / sendmai l - f rom
sendmai l _f r om = {your gmai l username}@gmai l . com
; For Uni x onl y. You may suppl y ar gument s as wel l ( def aul t :
"sendmai l - t - i " ) .
; htt p: / / php. net / sendmai l - pat h
sendmai l _pat h = "\ "\ XAMPP\ sendmai l \ sendmai l . exe\ " - t "
smt p_server=l ocal host
smt p_por t =25
; smt p_server=l ocal host
; smt p_por t =25
; new conf i g:
smt p_ser ver=smt p. gmai l . com
smt p_por t =587
smt p ssl =t l s
8/10/2019 Enable Send Email in XAMPP
http://slidepdf.com/reader/full/enable-send-email-in-xampp 3/5
e Send Email in XAMPP - Shellcreeper.com
shellcreeper.com/enable-send-email-in-xampp/#Edit-your-php.ini-in-xamppphpphp.ini[05.08.2013 15:36:14]
« Create Plugin For A Theme Add Editor Style from Plugin »
NOTE: You Need to enable SMTP in your GMail to make this work and all sender will be
from your email.
By David on 2012/10/13 | 7 Responses
Posted in Web Dev Log
7 Responses to Enable Send Email in XAMPP
Norris
2013/04/10 at 14:34 | Permalink | Reply
How to enable smtp gmail ? Please help. Thanks
David
2013/04/19 at 01:37 | Permalink | Reply
go to your gmail settingsm click forwarding pop/imap. imap is the smtp, just enable
imap.
Chakravarthy
2013/06/12 at 11:17 | Permalink | Reply
I tried editing these sendmail.ini and php.ini in many ways but none of them worked… I failed
err or_l ogf i l e=err or . l og
pop3_server=
pop3_user name=
pop3_passwor d=
f or ce_reci pi ent =
host name=
aut h_user name={your gmai l user name}@gmai l . com
auth_passwor d={your gmai l password}f or ce_sender ={your gmai l user name}@gmai l . com
FEEDBACK
I'm self-taught by scattering code across the web, so if you see some bad practices PLEASE
contact me or leave a comment. so I can learn from the mistakes I'm making!
Also feel free to contact me if you have som great ideas for improvements.
Like 0 0
8/10/2019 Enable Send Email in XAMPP
http://slidepdf.com/reader/full/enable-send-email-in-xampp 4/5
e Send Email in XAMPP - Shellcreeper.com
shellcreeper.com/enable-send-email-in-xampp/#Edit-your-php.ini-in-xamppphpphp.ini[05.08.2013 15:36:14]
everytime sending mail…
The mails are being stored in mailoutput folder… please help me to sort this out
bharat
2013/06/28 at 14:04 | Permalink | Reply
this is good guidance but event when i enable IMAP in gmail it did not work
phanindra
2013/07/15 at 17:49 | Permalink | Reply
what are the values to be given for
pop3_server=
pop3_username=
pop3_password=
force_recipient=
hostname=
Please help ASAP… I am working on it present..
David
2013/08/02 at 16:01 | Permalink | Reply
i just left it empty.
Zvone
2013/07/28 at 05:23 | Permalink | Reply
Thank you David for this!
smtp_ssl=tls was my problem, in my ini was set to auto.
Name *
Website
Leave a Reply
Email *
Comment
8/10/2019 Enable Send Email in XAMPP
http://slidepdf.com/reader/full/enable-send-email-in-xampp 5/5