• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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