Jump to content

selath

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by selath

  1. Im having a problem with respect to sending out emails using XAMPP as my local server.

     

    After some resarches and videos... I found out that the mail function doesn't work automatically with local web Servers such as (xampp, wampp. ampps .... and all other kind of "amppss out there!").

     

    I know that in order to the function work properly i have to reformat some php.ini and sandmail.ini files in the root of my server.

     

    My question is : Is there any other way of doing this ? i mean using the mail() function with my local server ON ?

     

    Do i really have to buy a server in order to use this ?

     

    oh! there's also this guy on youtube that discovered a tool called "Test mail server tool". here's the link if you're interested: http://www.toolheap.com/test-mail-server-tool/

     

    What basically this tool allows us to do is:

    • it will catch any email that are sent from the mail function and display them in a textEditor.

     

    And that would be fine for me since i just want to test. But that tool doesn't work for windows 8.1 -.-

     

    So im getting a little bit frustaded over this

     

    Any advice on what i should do ?

     

    Thank you

     

    Maybe the problem is in my code ?

     

    <?php                 $to = 'example1@example.com';$subject = 'this is the subject';$header =' from: $email';$name = $_POST['name'];$email = $_POST['email'];$message = $_POST['message'];    $body = <<<EMAIL    Person name: $name    Person Email: $email    $message     From: $name     EMAIL;if($_POST){    if($name ==''|| $email=='' || $message==''){        $feedback='feed back message';    }else{        mail($to, $subject, $body, $header);        $feedback = ' feedback message';    }    }                   ?>
  2. I want all the information in my email id which I put on php file but I am not getting any info in my email id even data (information of input box) is not submitting.

    Im having the same problem , and after some really deep search i found out that the send email function doesn't work automatically with local web Servers such as (xampp, wampp. ampps .... and all other kind of "amppss out there!").

     

    If you are using those kind of local servers, the mail() function won't work.

    You actually have to reformat some files in the server that you are using and only than it will work ....

     

    Note: As i said ..... im having the same problam with this ... and i have not tryed this things out !

    however , that is what people are saying so...

×
×
  • Create New...