- Products
- Purchase
Order Online Maintenance Renewal Resellers - Support
Helpdesk Online Documentation Web Forum - Our Clients
- About
About us Services Contact
From AfterLogic Wiki
WebMail Pro comes with a number of sample plugins. One of them, called global-signature, would allow you to set some predefined text so that it's added to all outgoing mails from all the accounts, with no way for users to edit that text or prevent adding it. Thus, it might be a handy way to add some advertisement there.
The sample plugin is found at examples/plugins/global-signature/index.php , be sure to copy it to data/plugins/global-signature/index.php. The text is added in the following line:
$oMessage->TextBodies->AddTextBannerToBodyText(' - TEST - ');
Note that the text is added to both HTML and plaintext body, so placing HTML markup there might cause unexpected results.
Upon configuring the plugin, you'll need to enable it. Please check this documentation page for detailed info on enabling plugins. Basically, you'll need to edit config.php file and make sure the array there contains the following entry:
"plugins.global-signature" => true
Last edit: 2011/9/16