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
inbound emails to ms access
sp_NewPost Add Reply sp_NewTopic Add Topic
May 30, 2013
9:41 am
Henk Helmantel
Admin
Forum Posts: 1488
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Hello Peter,

Diafaan SMS Server has no direct way to write received email message to a database, it is possible to do this with a Scripting Gateway but if you are using a gateway script anyway, there is an easier way to do what you want. Please not that the Scripting Gateway is only available on the basic- and full edition of Diafaan SMS Server.

The Scripting Gateway can be used to change the sending parameters before sending the message. This includes the Message Type parameter, you can set it to sms.automatic.flash to send the message as a flash message. To do this, you have to set the "Gateways" options of the Email Connector to route the messages only to the Scripting Gateway and let the Scripting Gateway re-route the messages to the GSM Modem Gateway.

For example, if you have a GSM Modem Gateway with the same name, you can replace the "OnMessageToSend" function with the following C# code:

private void OnMessageToSend(string recordId, string toAddress, string fromAddress,
string message, string messageType)
{
PostDispatchMessage(recordId, toAddress, fromAddress, message, "sms.automatic.flash", "GSM Modem Gateway", "");
}

Regards, Henk

May 29, 2013
8:21 pm
piper
Guest
Guests

Is it possible to save inbound emails into the access database and then to forward to mobile number as sms using the sms.automatic.flash message type

peter

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 529

Currently Online:
5 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