SMS Signature

SMS Signature SearchSearch
Author Message
Shahaz Roy
New member
Username: Shahazroy

Post Number: 3
Registered: 07-2012
Posted on Sunday, July 15, 2012 - 07:27 pm:   

hi,

i want t0 add a line every sms send using nowsms.


e.g. sms sent:
hello,
this is test sms.

sms received:

hello,
this is test sms.

sent:using server1 (signature)
------------------
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 4032
Registered: 08-2008
Posted on Tuesday, July 17, 2012 - 09:49 pm:   

Hi,

There is no built-in function that will accomplish this.

If you are using the built-in forms, you could edit HTML\Send Text Message.htm with JavaScript code to append a signature.

The easiest way to do this would be to add the following code to the clearTextBoxCounter() function:

var mySig = " (Your Signature Here)";

if (document.forms[0].Text.value.indexOf(mySig) < 0) {
document.forms[0].Text.value += mySig;
}

This code just looks at the input form, checks to see if the signature is already present, and if not, adds it.

--
Des
NowSMS Support
Shahaz Roy
New member
Username: Shahazroy

Post Number: 5
Registered: 07-2012
Posted on Wednesday, July 18, 2012 - 07:16 am:   

No, I am sending messages only by email. how do i do that in this scenario.
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 4037
Registered: 08-2008
Posted on Wednesday, July 18, 2012 - 04:51 pm:   

Sorry, but there is no support for adding a signature at the server.

--
Des
NowSMS Support
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 4039
Registered: 08-2008
Posted on Thursday, July 19, 2012 - 08:11 pm:   

Hi Shahaz,

Upon further consideration, I realised that my response yesterday is incorrect.

When routing SMTP to e-mail, there is a template that is applied to the message, and it is definitely possible to include a signature in the template if desired.

Here is a description of how to modify the template:


quote:

E-mail to SMS - Add template setting to allow some minor changes to the standard SMS to e-mail format (From /Subject /Message Text) used by NowSMS. To change the SMS to e-mail format, edit MMSC.INI, and add an SMSEMailTemplate= setting to define a template for the SMS to e-mail format. The following replacement variables are supported in the template: @@FromAddress@@ (e-mail address of sender), @@FromName@@ (full name of sender), @@Subject@@ (subject of message), @@Text@@ (text of message). The default template is SMSEMailTemplate=@@FromAddress@@ /@@Subject@@ /@@Text@@




@@FromAddress@@, @@Subject@@ and @@Text@@ are all placeholders. They do not have to be present, but if they are, NowSMS will replace them with text from the message.

Any other text in the signature will be included as is.

So you'd use something like:

SMSEMailTemplate=@@FromAddress@@ /@@Subject@@ /@@Text@@ (sent:using server1)

or:

SMSEMailTemplate=@@Text@@ (sent:using server1)


--
Des
NowSMS Support
Shahaz Roy
New member
Username: Shahazroy

Post Number: 7
Registered: 07-2012
Posted on Tuesday, July 24, 2012 - 11:01 am:   

Dear Des,

added the line in the MMSC.INI restarted the services.
but it didn't worked.
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 4044
Registered: 08-2008
Posted on Tuesday, July 24, 2012 - 03:53 pm:   

What version of NowSMS are you running? (This setting has been around for 5 years, but maybe you are running an older version.)

Make sure MMSC.INI contains only one [MMSC] section header. (Section headers are marked by having [ and ] surround them.)

Make sure that the SMSEMailTemplate= setting appears under the [MMSC] section header and that it is spelled correctly.

If it is still not working, make sure there are not multiple MMSC.INI files on your hard drive. And post the relevant MMSC.INI file in reply (x out any private details) so that I can look for syntax errors.

--
Des
NowSMS Support
Shahaz Roy
New member
Username: Shahazroy

Post Number: 9
Registered: 07-2012
Posted on Wednesday, July 25, 2012 - 11:59 am:   

my apologies it was not under [MMSC] header. now i added and it is working fine.

I am using the trial version i just downloaded from your website.
sam
Frequent Contributor
Username: Samdsouza

Post Number: 65
Registered: 08-2006
Posted on Thursday, August 30, 2012 - 08:45 am:   

Hi Des

Is there a similar solution for MMS to email? I mean a MMS signature while sending MMS to email IDs? Something like MMSEMailTemplate=@@Text@@ (sent:using server1)

Kindly let me know

Thanks
Sam
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 4086
Registered: 08-2008
Posted on Friday, August 31, 2012 - 04:51 pm:   

Hi Sam,

No, there is not.

Such a template would be far more complicated. I'm not even sure what it would look like if it were possible.

--
Des
NowSMS Support
sam
Frequent Contributor
Username: Samdsouza

Post Number: 66
Registered: 08-2006
Posted on Saturday, September 01, 2012 - 10:58 am:   

Thanks Des

Your reply is highly appreciated.