• Resolved DediData

    (@dedidata)


    Hi,

    Recently I have a problem with default ContactForm7 template
    When I set additional headers to : Reply-To: [your-email]
    the form fail to send email to receipient
    But when I clear the additional header field it sends the form result
    I tested the mail function using following code:

    $to = "[email protected]";
    $subject = "PHP Mail Test script";
    $message = "This is a test to check the PHP Mail functionality";
    $headers = 'From: [email protected]' . "\r\n" .
        'Reply-To: [email protected]' . "\r\n";
    var_dump(mail($to,$subject,$message, $headers));

    It works no problem, What you think ?

    • This topic was modified 4 years, 8 months ago by DediData.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Problem sending form when Reply-To is set’ is closed to new replies.