Hi guys, in this article we are going to have some interesting things with
PHP; we are going to send Mail via mercury with XAMPP. Here are the to steps
to work with :
Step 1 : Install the Xampp server, use the link to know how to install Xampp.
http://www.c-sharpcorner.com/UploadFile/c8aa13/installation-of-xampp-server-to-run-php-program/.
Step 2: Open the Xampp control panel,
Run the service mercury then click on the Admin button.
Step 3 : Starting configuring the
Mercury,go to the configuration menu->manage local users :
Configuration menu
Click the manage local users, Firstly can delete the Test User, then
add the user.
Adding a new user, after that click ok then close the window.
Step 4 : Create the Aliases, a valid email address then click ok and save
it.
Step 5 : In this step go to the Configuration menu-->Mercury core module.
click on the Local domains and add new domain.
Again click the add new domain and enter the
local host as localhost.com and internet name as ip address then click ok and ok.
Step 6: Configuration for the host, here in this step we will configure
the host property Open mercury
->configuration menu->MercuryS SMTP server.
Put the announce myself as 127.0.0.1 and IP interface to use 127.0.0.1 then
click ok.
Step 7 : Go to the configuration menu
--> MercuryP Pop3 server and IP interface to use 127.0.0.1 then click ok.
Step 8 : Configuration menu--> MercuryE SMTP client and name servers.
Step 9 : Configuration menu--> MercuryD Pop3 client and enter the POP3
host as 127.0.0.1, click ok, save it & close the mercury window.
Step 10 : In this step we will Test the on the outlook express - go to
desktop-- start--open the outlook express.
Go to Tools --> accounts.
Internet Connection Wizard will display and enter Deepak as display name then
click next.
Click Next and finish and go to the properties --> description name click OK and send the mail.
Conclusion :
This is the one the most imp concept with PHP, so learn and enjoy it. Thanks.
Further information about sending mail on local host using the php scripting and
also with secure mailing concept.