How to send message without user interaction in kony - temenos-quantum

I need to send a message to the specific phone number without 'user interaction'. Suppose there is button is called approved. If approved button is clicked then message should be sent without user interaction.
I have tried with the kony API "kony.phone.sendSMS("0123456789", "your leave approved")". The message sent successfully but one page has opened with the send option in android mobile.
Is it possible to send message without 'send' option means direcltly?. If possible please give me the solution.

I think for this you need to write the code in native Android, integrate it as an FFI and then call this method in Kony.

Related

Outlook 365 gives an error Sorry, something went wrong. You may want to try again. when trying to send an email automatically

I have an accounting application that i use to send emails. Recently with the latest Outlook 365 update, every time i try and send an email, i get the error
"Sorry, something went wrong. You may want to try again."
The application is working through OLE to communicate with Outlook. In the application, there is an option to show the email before sending. This requires myself to click on Send. This option works fine.
However if do not want to see the email before sending and want it to be sent automatically, this is when the error comes up.
I have changed the Programmatic Access to to never warn me and allow 3rd party applications to go through. Prior to changing this setting, outlook use to pop up with a box asking permission for the application to go through. I used to click Allow and the error still appeared. With the above change, it does not prompt for me to allow but the error still appears.

Slack API - clicking a button in a Slack conversation sends a message on the channel

In a Slack conversation, is it possible to click on a button to send a message to the Slack channel?
The Slack conversation could be:
The user types a word (or message)
A slackbot shows some text and two buttons
The user clicks on a button to send a TEXT message to the Slack channel
The Slackbot reacts on the 'action' message.
It is not possible to create an REST service for my Slackbot, because the Slackbot is behind a firewall. So, registering commands is not possible.
So sending a message as the result of a button click is needed. The Slackbot can react on that message.
I read that attachments could be a good way to do this, BUT the is 'outmoded'.
I tried to send an secondary attachment, which is outmoded, but that was not possible.
The next approach was adding a webhook. So pushing a button resulted in using the url, but that is of course not possible because I cannot send a POST request via a simple (get) url.
Please give a short example.
This will not work.
Every interactive feature (e.g. buttons) require your app to be able to receive POST requests from Slack through the public Internet. Since you say you can not provide that (e.g. behind a company firewall) you will not be able to use any interactive features.
See also this answer: How to integrate internal APIs (Not accessible outside office network) to slack slash commands

create a slack message and edit before sending

I have created a bot using Botkit and am working on creating an interactive message. What I want to do is when the user clicks on the button in the interactive message, a new message will be created pulling som info from the original interactive message, BUT WILL NOT BE SENT. I need to continue editing the message before choosing to send it. Does anybody know whether this is possible or not? I have been googling and searching slack's docs and botkit's docs, but haven't been able to find an answer.
If you want to let the user edit a message before sending you can use the Dialog feature from Slack. It will allow you to show an input text field, where the user can make his edits. I am not familiar with Botkit though and can not say if it supports Dialogs.

how to track sent message event in windows phone?

Is there a way in windows phone to track sent message event? i mean to say that whenever a message is sent then a function of my application execute
all i want is to execute a function whenever sent message button of windows phone is clicked?
If you open the message launcher (I don't remember the exact name), it'll open this screen and you have the event (something like application deactivated) and once the user sends the message, the screen should close and come back to your app (again another event is available at that point, activated).
So you'll have to play with the events to do something you like, IIRC there is no call back when the message button is clicked.
Here's a link with the lifecycle of apps
There is no API that notifies you if a message was sent (at least no open API). A similar question was asked here.

EmailComposerTask - how to detect if email wasn't sent?

I'm using EmailComposerTask to send an email.
Is there any way to detect if email wasn't sent for problems like no connection, invalid email setting, mail server temporary down etc ?
I cannot find any way get this information.
Unfortunately this is not possible. Tasks in WP7 consists of launchers and choosers, the EmailComposerTask is one of the launchers which is defined as being:
A “fire and forget” action, where a specific Windows Phone functionality is launched, for example, sending an SMS message, opening a webpage, or placing a phone call
There is no way to know the result of the action you launched. Source

Resources