DiigIT | IT Community
No Profile Image
Welcome Guest
New User? Register | Login

Testing mail function locally

By: Sudhir | 04 Sep 2008 6:57 pm

Hello every body...

Friends i am trying to test the mail() function locally but i am
unable to do so.
i must tell you that the main problem for me is "how the smtp setting
should be done?"

i am using windows xp , Apache is my server and php5 is my scripting
language.

First i must ask that "do i have to install something to set the
enviroment for the mail function"
if yes specify me...

i will be waiting for your reply.
Thanks in advance.

Comments

Windows XP doesn't have mail server built in
Use xampp for php devel environment, it has mail already built in or install
any email server (xampp uses mercury ), or change SMTP=localhost to some
real host on the net in php.ini

OR

if you like using smtp, you can use Swift Mailer.
By: PHP Guru | 04 Sep 2008

Leave a comment

Enter the text in the image
img
Can't read?
Type the characters you see in the picture below.


Close Move