Support » Fixing WordPress » set From address in sendmail.php

  • Hi
    What code needs to be in sendmail.php document or elsewhere to include a From address in forms being send from the site?
    I can’t see there’s such a definition in my current sendmail.php

    <?
    $to = "name@domain.com";
    $subject = "CourseLead";
    $content = $_POST['name'] . ", " . $_POST['phone'] . ", " . $_POST['email'] . ", " . $_POST['course'];
    $headers ="Content-type: text/plain; charset=utf-8\r\n";

    Thank you

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘set From address in sendmail.php’ is closed to new replies.