View previous topic :: View next topic |
Author |
Message |
leea-kinetic
Joined: 04 Feb 2022 Posts: 3
|
Posted: Fri Feb 04, 2022 11:25 am Post subject: Text Messages show (text message) before all messages |
|
|
When a text message is send and received by the recipient it appears that NotePage is prefixing all texts with (Text Message).
For example if NotePage sends a text from "user@domain.com" with the message of "text" it is delivered to the recipients phone as:
Quote: |
(Text Message) USER:text |
Is there anyway to prevent this or is this by design?
|
|
Back to top |
|
Tech Support
Joined: 25 Aug 2003 Posts: 4370
|
Posted: Fri Feb 04, 2022 11:49 am Post subject: |
|
|
That is the default arrangement in NotePager Pro but it is also user configurable with the program's template system.
To modify the global template, you'll need to create a file named 'global.mtp' in the NotePager Pro Global Database folder and this file will control what gets output for your messages.
The following variables are supported:
%Sender%
%Date%
%Time%
%Recipient%
%Message%
For example, if you only want the message to contain the text entered and nothing else, the file would only contain:
%Message%
If you wanted to add any additional text, you could. So, you could structure a template something like this:
Date: %Date% Time: %Time%
From: %Sender%
Msg: %Message%
The program reads the template in when you start it, so if you make any template modifications while the program is still running, you'll need to close and re-open it for them to take effect. |
|
Back to top |
|
leea-kinetic
Joined: 04 Feb 2022 Posts: 3
|
Posted: Fri Feb 04, 2022 4:48 pm Post subject: global.mtp |
|
|
I created a global.mtp (in the location of my GlobalDB C:\ProgramData\NotePage\NotePager Pro\5.0) with the following:
Code: |
TEST TEMPLATE
%Sender%
%Message% |
However, even after closing, re-opening and testing the text message is still delivered with "(Text Message)" at the beginning of the text to it now reads:
Code: |
(Text Message) TEST TEMPLATE
USER
text |
I know the change took since the "TEST TEMPLATE" code is delivered with the text now.
|
|
Back to top |
|
leea-kinetic
Joined: 04 Feb 2022 Posts: 3
|
Posted: Fri Feb 04, 2022 5:39 pm Post subject: global.stp |
|
|
I actually figured it out by reading another forum post.
the "(Text Message)" text is actually configured globally using the "global.stp" file.
|
|
Back to top |
|
|