Send mail on local host via Mercury with Xampp

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.

0.gif

Step 3 : Starting configuring the Mercury,go to the configuration menu->manage local users :

1.gif  

Configuration menu

2.gif

Click the manage local users, Firstly can delete the Test User, then add  the user. 

  4.gif

Adding a new user, after that click ok then close the window.

5.gif

Step 4 :
Create the Aliases, a valid email address then click ok and save it.

6.gif


7.gif

Step 5 :
In this step go to the Configuration menu-->Mercury core module.

8.gif

click on the Local domains and add new domain.

8.5.gif

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.

9.gif

Step 6: Configuration for the host, here in this step we will configure the host property Open mercury
->configuration menu->MercuryS SMTP server.

9.5.gif

Put the announce myself as 127.0.0.1 and IP interface to use 127.0.0.1 then click ok.

11.gif

Step 7 : Go to the configuration menu --> MercuryP Pop3 server and IP interface to use 127.0.0.1 then click ok.

12.gif

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.

13.gif

Step 10 : In this step we will Test the on the outlook express - go to desktop-- start--open the outlook express.

14.gif

14.5.gif

Go to Tools --> accounts.

15.gif

Internet Connection Wizard will display and enter Deepak as display name then click next.

new 1.gif


new 2.gif


16.gif


17.gif

 Click Next and finish and go to the properties --> description name click OK and send the mail.

18.gif

19.gif

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.

Up Next
    Ebook Download
    View all
    Learn
    View all