• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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