• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Mail send via PHP is sent as '[email protected]' - How to change 'anonymous' ??

Good Question. Thats the way it works for me too. Also, a lot of mail sent via PHP from my plesk machine gets blocked at my mail server because it cliams to be infected with a virus. Here is the message in th avirus log : File(s) are INFECTED [[Outlook 'CR' Vulnerability]: 0] )

I'll be watching this thread for a solution.I don't often see things solved here though. A lot of dead threads.
 
<?php

$stremail = "[email protected]";
$asunto = "Newsletter";
$sbody = "message of the email";

$headers = "MIME-Version: 1.0\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\n";
$headers .= "From:Your name company<[email protected]>\n";
$headers .= "Reply-To:Webmaster<[email protected]>\n";
$headers .= "X-Priority: 1\n";
$headers .= "X-MSmail-Priority: High\n";
$headers .= "X-mailer: DAUMED\n";

mail($stremail, $asunto, $sbody, $headers, "[email protected]");

?>
 
Back
Top