PHP mail is sent very late?
Hello, unfortunately, I'm having a problem where my email newsletter doesn't arrive in my inbox until very late after I send it. It takes somewhere between 3 and 12 hours. What could be causing this?
Hello, unfortunately, I'm having a problem where my email newsletter doesn't arrive in my inbox until very late after I send it. It takes somewhere between 3 and 12 hours. What could be causing this?
Good day, There was a debate on Markus Lanz that jobs in IT would be lost because AI could create simple codes without human help. The AI is constantly learning new things and improving itself. what do you think?
I know my password, but it's not being accepted today! I haven't been able to log into GMX all day, and I'm going crazy! Anyone else feeling the same today?
I signed up for Aliexpress because I wanted to buy things cheaply. Although I never bought anything, However, I keep getting emails, and no matter whether I block Aliexpress or ignore the emails, I keep getting new ones.
Hello, how can I insert this image into HTML so that the boxes are no longer visible and it becomes transparent
Hi. I'd like to send an email to a school. I want to ask where I can complete a long-term internship at a daycare center. Whether there are specific daycare centers for this. Because online there are prerequisites, and you have to complete a three-month internship before the training begins. I hope someone can help…
How can you make an existing website made up of HTML, CSS, and JS responsive? So that it adapts to every device and looks good everywhere? And what pixel size should you use? There are different screen and mobile phone sizes.
You don’t even say anything about the platform.
Anyway, on unixoidal OSes is called by mail() at the end sendmail. So if you nciht knows which sendmail and how the configuration looks, you can say little about it.
On the e-mail provider
or at the cronjob.
Depends on how the ship was implemented.
This is my code “
if ($_SERVER[“REQUEST_METHOD] == “POST” && isset($_POST[’email’]) && isset($_POST[‘subject’]) && isset($_POST[‘html_content’])
$to_email = $_POST[’email’);
$subject = $_POST[‘subject’);
$html_content = $_POST[‘html_content’);
// Configuration for mail delivery
$from_email = ‘deine@ Exemplar-email.com’;
// Set mail header
$headers = “From: $from_email\r\n”;
$headers .= “Reply-To: $from_email\r\n”;
$headers .= “Content-type: text/html; charset=UTF-8\r\n”;
// Send e-mail
$mail_sent = mail($to_email, $subject, $html_content, $headers);
if ($mail_sent) {
echo “The newsletter was successfully sent to $to_email!”;
} else
echo “There was a problem sending the newsletter to $to_email.”;
}
} else
echo “Not all required fields have been transmitted.”
}
?>
“
will they be sent immediately? After creating? Because then it can only be on the provider.
Jo is sent immediately