Support forum

Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_TopicIcon
Email Connector - Custom Field
sp_NewPost Add Reply sp_NewTopic Add Topic
December 30, 2013
10:28 am
Henk Helmantel
Admin
Forum Posts: 1488
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

We are not able to provide this kind of support in the trial period of the software but for customers with a valid license for Diafaan SMS Server we can provide sample scripts, as long as they are not too complicated.

If you have a license for Diafaan SMS Server that is still in the free update and support period, please send the request for the script and your serial number to dms@diafaan.com and I will see if we can help you with a sample script.

Regards, Henk

December 30, 2013
8:57 am
AbdulBari
Guest
Guests

Thank you so much for your support, I would like to know where can i get some help regarding the script, as i am not a programmer and i have seen the sample script, all i need to know now the exact changes i need to add to the following
" PostSendMessage(fromAddress, "", "We have received your message", "sms.text", "", "", "", 0) "
Instead of send back a reply i want to send a mail and add the message fields.

please advice

thanks again

December 29, 2013
2:39 pm
Henk Helmantel
Admin
Forum Posts: 1488
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Hello AbdulBari,

The primary key field 'Id' is only used when a received SMS message is placed in a database with the SQL Connector, it is generated by the database and not part of the information of the SMS message. The Email Connector does not use an 'Id' field and it is not possible to add one with the Email Connector since the SMS system does not provide one. If you want to add a unique non-sequential identifier, you can use the sender number and the send time. This combination is usually unique for each SMS message.

If you really need to add a sequential numeric 'Id' field to the email messages, you can use a Scripting Connector and create a script that forwards all received SMS messages to email. In this script, you can send the email in exactly the way you need, including a self generated numeric ID.

Regards, Henk

December 28, 2013
7:22 am
AbdulBari
Guest
Guests

Hi,
I would like to know how can i add ID (primary key) field to email connector of received sms.
Right now in the template there To, From, Gateway and so on except ID. Like in sql connector there is Id (the primary key) field which shows a number to every received sms.
Please advice how can I add this custom field to email connector of received sms's.
Thanks

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 529

Currently Online:
6 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 672

Members: 0

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 3

Topics: 1141

Posts: 3899

Newest Members:

, Henk Helmantel

Administrators: Henk Helmantel: 1488