This is no built-in function in Diafaan SMS Server but you can use the Scripting Gateway to write a script in C# or Visual Basic.NET that can do this (basic- and full edition only).
You can find some basic example scripts in the scripting pack that show how to use a C# script to do a simple information look up operation from a database when an SMS message is received. The examples are intended for the Scripting Connector but the principles are the same for the Scripting Gateway. Scripting in Diafaan SMS Server is powerful but requires programming skills in C# or Visual Basic.NET.
Following on from this - is there any way that the "to" addresses to forward the converted email to can be collected from a database instead of from one of the email message fields or the "default" field?
Great, both of those options worked fine!
The Email Connector does not have a setting to change or omit the sender ID, it always uses the 'from address' as the sender ID.
On the gateway side, you can set a default sender ID that overrides the sender ID's from the connectors but that is a setting that will affect messages from all connectors, not only the Email Connector.
The only way to change the sender ID specifically from the Email Connector is with a Scripting Gateway (basic- and full edition only). You can route all messages from the Email Connector to the Scripting Gateway, use the script to change the 'fromAddress' parameter and dispatch the message to the intended gateway(s). You can find some information about routing messages in Diafaan SMS Server here.
Is there a way to set or change the sender ID/From address when using an email connector?
We've set up an email connector successfully and it is converting the incoming emails correctly to sms but the sender id in the text message is coming through as the email "from" address. Is there any way to change this?
Most Users Ever Online: 494
Currently Browsing this Page:
Guest Posters: 460
Newest Members:, Henk Helmantel
Administrators: Henk Helmantel: 822