Version 2.4.17 - registration not possible (General)

by Auge ⌂ @, Thursday, January 10, 2019, 11:38 (621 days ago) @ Magma


Yes the password to login to the cpanel.


Are you able to send an e-mail with the PHP mail-function at all with the following script?

$subject  = "Pipapo";
$content  = "This e-mail if for testing.";
$sender   = ""; // add the e-mail-address of the sender
$receiver = ""; // add the e-mail-address of the receiver
$headers  = "From: " . $sender . "\r\n";
$headers .= "Content-Type: text/plain; charset=UTF-8\r\n";
$returnValue = mail($receiver, $subject, $content);
if ($returnValue === false) {
echo "E-mail could not be passed to the mail server program.";
} else {
echo "E-mail was passed to the mail server program.";

Not sure how to do this, is that within the cpanel?

No, it's a simple PHP script, that should send an e-mail, when you call it in the browser. But the task is not necessary because you said that the unubscribing function was broken. If it was broken, the e-mail itself was sent and because of that, your server is generally able to send e-mails.

I would like to see the source code of the e-mail as it is generated by the function my_mail.

Tschö, Auge

Trenne niemals Müll, denn er hat nur eine Silbe!

Complete thread:

 RSS Feed of thread

powered by my little forum