• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Customizing Trial Mode messages

jekyll807

New Pleskian
Hello

Our trial mode messages see to work, but the "From" address and name are server defaults
e.g. From: Apache <[email protected]>

Is there a place to configure this in the API or in the /usr/local/sb/config file?

Also, can we get the trial mode messages to send in HTML instead of plain text? the parameter passed is: initialMailHtml but it does not render correctly.

The API call is like ...
$message = '

Dear %siteOwnerName%,

etc ...
';

$properties = array(array(
'localeCode' => 'en_US',
'messages' => array(
'initialMailSubject' => $subject,
'initialMailHtml' => $message
)
));

$wpbApi->requestToApi('/system/trial-mode/messages/', WpbApi::pUT, array($properties));


We are using 11.5 Standalone on CentOS

Thanks
 
Hello,

I would like to customize the From email name and address for notices from the WPB - particularly the "New Trial" message.

Is there any options in /usr/local/sb/config or in the API that can change the From Name and address?

Currently it show From: Apache <[email protected]>

Thanks
 
WPB sends all mails like any other PHP-applications - with usage mail() function. Behavior of this function can be configured in php.ini (/usr/local/sb/etc/php.ini) with "sendmail_path" (do not forget to restart web server to apply changes).
Another way it's additional parameter in WPB config file (/usr/local/sb/config) section mail:
Code:
params = -f [email protected]
 
Back
Top