Jump to content

Search the Community

Showing results for tags 'emailFunction'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • W3Schools
    • General
    • Suggestions
    • Critiques
  • HTML Forums
    • HTML/XHTML
    • CSS
  • Browser Scripting
    • JavaScript
    • VBScript
  • Server Scripting
    • Web Servers
    • Version Control
    • SQL
    • ASP
    • PHP
    • .NET
    • ColdFusion
    • Java/JSP/J2EE
    • CGI
  • XML Forums
    • XML
    • XSLT/XSL-FO
    • Schema
    • Web Services
  • Multimedia
    • Multimedia
    • FLASH

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Languages

Found 1 result

  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'; } } ?>
×
×
  • Create New...