• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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