Support forum
Hello Doug,
The destination email address in the SMTP mail to the Email Connector can include a message type. The message type is a short text to describes how Diafaan SMS Server should send the message, for instance the message type 'sms.unicode' tells Diafaan SMS Server to send the message as a Unicode message if possible. The message type can also be used to route the message to one or more specific gateway(s).
You can also use your own message type definitions. For example, instead of using the email address '+123456789@host.com', you can use '+123456789.pager@host.com' to set the message type to 'pager'. Everything in the email address between the first dot and the '@' is regarded as the message type and everything in the email address before the first dot (and before the '@') is the destination number of the SMS/pager message.
In the 'Gateways' settings of the Email Connector you can set the routing rules for each of the gateways, depending on the message type of the message. To allow only message with message type 'pager' to be sent with one of the gateways, click on the gateway name and set the option 'Only for message type' to 'pager'. To allow all messages except the ones with message type 'pager' to be sent with one of the gateways set the option 'Only for message type' to '-pager'.
You can find more information about message routing in Diafaan SMS Server in the Route messages page of the manual.
Regards, Henk
9:03 pm
Greetings,
I am in the process of testing your current version (3.2.0.1) and have a desire for a routing rule, but am unsure if it can be accommodated.
We have a large number of legacy applications that only support alerts via SMTP. My goal in Diafaan is to have a single Email Connector that can look at the email as written to determine which Gateway to use. For example, I currently have two Gateways, one uses WCTP to send to pagers, and the other uses Clickatell to send SMS messages to phones.
I want to make it so I can send email to the Diafaan server in the form of number@sms or number@pager and have it send the ones that match *@sms to Clickatell and the ones that match @pager to the WCTP Gateway for our paging provider.
I know I can do this with separate Email Gateways on different port numbers, but in some instances I have an app that only supports a single SMTP server and that I want to go to some SMS and some Pager addresses. This would allow me to just build a recipient list that can be easily processed.
Any thoughts?
Most Users Ever Online: 529
Currently Online:
4 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Member Stats:
Guest Posters: 681
Members: 0
Moderators: 0
Admins: 1
Forum Stats:
Groups: 2
Forums: 3
Topics: 1160
Posts: 3961
Newest Members:
, Henk HelmantelAdministrators: Henk Helmantel: 1517