Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

PHP email() question is there anything wrong with this header From: typo< upyr1@yahoo.com> Reply-To:upyr1@yahoo.com?

From: typo< upyr1@yahoo.com> Reply-To:upyr1@yahoo.com

2 Answers

Relevance
  • Jeff P
    Lv 7
    5 years ago

    I've included a link on how the mail() function in PHP works. Since you didn't really state what your problem is, I don't know what other answer to give you.

  • Chris
    Lv 7
    5 years ago

    Use this:

    $headers = join ("\r\n", [

    "From: typo <upyr1@yahoo.com>",

    "Reply-To: upyr1@yahoo.com"

    ]);

Still have questions? Get your answers by asking now.