• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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