• 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.

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