Login Register


Leaf PHP Mailer error filter_list
Author
Message
Leaf PHP Mailer error #1
I dont recive any mails using Leaf PHP, how do you use it?

Reply

RE: Leaf PHP Mailer error #2
Have you tried this?

Code:
<?php $to = "recipient@example.com"; $subject = "Test Email"; $message = "This is a test email."; $headers = "From: your_email@example.com\r\n"; $headers .= "Reply-To: your_email@example.com\r\n"; $headers .= "X-Mailer: PHP/" . phpversion(); // Use the mail() function to send the email $mailResult = mail($to, $subject, $message, $headers); // Check if the email was sent successfully if ($mailResult) {     echo "Email sent successfully!"; } else {     echo "Error sending email."; } ?>
(This post was last modified: 12-16-2023, 10:54 PM by JefeNoMas.)

Reply

RE: Leaf PHP Mailer error #3
if the email is not sent by the mail() php funxtion try to configure it on the cpanel

Reply

RE: Leaf PHP Mailer error #4
Thanks for your answer. This is what I am looking for,

Reply







Users browsing this thread: 1 Guest(s)