???? Most of the web developers to develop and test? program that is being created? on the local computer, before the application as a whole is finished and ready to be released and dionlinekan, the aim is that the program can be done anywhere? without having to connect to the internet, the cost savings and other reasons. although for some it will be more effective if done online program,
???? Sometimes a programmer having some problems when a web application is done offline, one example is when setting up an email sender, would not want to allow the program to run properly, the program that has not been so must be uploaded prior to the file hosting then program tested after the program successfully uploaded, I think this is very ineffective and severely limits a programmer to more freely complete the program that is still in progress.
???? In this post we will discuss the configuration of XAMPP for mengeirim email on the local computer, I think this is important and needs to be discussed, because many of my friends own experience problems when testing email on the local computer, most of them do not succeed do so and? ERROR experience when malakukan trials.
To avoid errors when trying to send an email via the local computer, please follow the steps below:
1. Edit file php.ini ( xampp php php.ini) .cari block of code [mail function], try to find and adjust the commands below:
???? Sometimes a programmer having some problems when a web application is done offline, one example is when setting up an email sender, would not want to allow the program to run properly, the program that has not been so must be uploaded prior to the file hosting then program tested after the program successfully uploaded, I think this is very ineffective and severely limits a programmer to more freely complete the program that is still in progress.

???? In this post we will discuss the configuration of XAMPP for mengeirim email on the local computer, I think this is important and needs to be discussed, because many of my friends own experience problems when testing email on the local computer, most of them do not succeed do so and? ERROR experience when malakukan trials.
To avoid errors when trying to send an email via the local computer, please follow the steps below:
1. Edit file php.ini ( xampp php php.ini) .cari block of code [mail function], try to find and adjust the commands below:
- SMTP = SMTP .gmail.com
- SMTP_PORT = 587
- sendmail_from = [ example ] @ gmail.com // email will be used to send
- sendmail_path = " " D: xampp sendmail sendmail.exe " -t "
please change the red text with your gmail email which later status as the sender of the message, remember without @ gmail.com, and please replace also I love the orange color according to your xampp installation location.
2. Edit file sendmail.ini (xampp sendmail sendmail.ini) in the code that appears when you open it like the code below, try to make a comment to add character # code in front of the code as the code below, the aim is to have the order is considered sebgai comments, or you can also delete # Mercury
#account Mercury
#host localhost
#from postmaster @ localhost
#auth off # A freemail service example
#account Hotmail
#tls on
#tls_certcheck off
#host smtp.live.com
#from [exampleuser] @ hotmail.com
#auth on
#user [exampleuser] @ hotmail.com
#password [examplepassword]
4. Have you delete the above command, then paste the following command sebgai substitute the above command, this command is a command to send email via SMTP.gmail ,? or you can replace it as you wish if you've got any other format Gmail account
TLS on
tls_certcheck off
host smtp.gmail.com
from [ your_gmail_username ] @ gmail.com
auth on
user [ your_gmail_username ] @ gmail.com
password [ your_gmail_password ] port 587
Please replace the I love red color with google email? you without @ gmail.com, then change is also what I love the color orange with your gmail email password.
oh yes once again the above configuration is the configuration XAMMP to send an email on a computer local email used to send email messages using gmail. so to try it you must have a gmail email.
you can also berexperiment with yahoo email eg, configuration please fox @ gmail.com be @ yahoo.com or @ ymail.com according to your yahoo email.
Restart your XAMPP
Then, after the setup is complete and XAMPP successfully restarted, please try to create a form to send an email on the local computer, make it simple form by writing emails to, and the box contents of the message, then when run please fill in the e-mail destination, for this issue you will, success and whether or please refer to the email destination, if the destination email can receive e-mail messages you send from your computer local means you success.
2. Edit file sendmail.ini (xampp sendmail sendmail.ini) in the code that appears when you open it like the code below, try to make a comment to add character # code in front of the code as the code below, the aim is to have the order is considered sebgai comments, or you can also delete
#account Mercury
#host localhost
#from postmaster @ localhost
#auth off
#account Hotmail
#tls on
#tls_certcheck off
#host smtp.live.com
#from [exampleuser] @ hotmail.com
#auth on
#user [exampleuser] @ hotmail.com
#password [examplepassword]
TLS on
tls_certcheck off
host smtp.gmail.com
from [ your_gmail_username ] @ gmail.com
auth on
user [ your_gmail_username ] @ gmail.com
password [ your_gmail_password ]
Please replace the I love red color with google email? you without @ gmail.com, then change is also what I love the color orange with your gmail email password.
oh yes once again the above configuration is the configuration XAMMP to send an email on a computer local email used to send email messages using gmail. so to try it you must have a gmail email.
you can also berexperiment with yahoo email eg, configuration please fox @ gmail.com be @ yahoo.com or @ ymail.com according to your yahoo email.
0 Komentar