I've tries testing the Contact Us page and it doesn't send to an email address. I can view it in the back office, but when I respond, it doesn't send an email response to the sender.
I also have Newsleter Pro and the "TEST" email works perfectly, but it won't send when I try to test sending to multiple recipients.
Question
Kevin13952
I've tries testing the Contact Us page and it doesn't send to an email address. I can view it in the back office, but when I respond, it doesn't send an email response to the sender.
I also have Newsleter Pro and the "TEST" email works perfectly, but it won't send when I try to test sending to multiple recipients.
I get the following error message:
$sender = 'someone@somedomain.tld';
$recipient = 'you@yourdomain.tld';
$subject = "php mail test";
$message = "php test message";
$headers = 'From:' . $sender;
if (mail($recipient, $subject, $message, $headers))
{
echo "Message accepted";
}
else
{
echo "Error: Message not accepted";
}
?>
Link to comment
Share on other sites
0 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now