BlackBerry 10 / WebWorks 2 send email automatically - blackberry-10

I'm writing an app to prepare an email message with data provided by the user in a form. Upon the user clicking "finish" in the form, the email message gets prepared on the email card, but the user still has to click Send.
I used this method to prepare the message: blackberry.invoke.card.invokeEmailComposer. How do I get the message to send immediately after the message is prepared?

That behavior is currently not available. As you describe, the invokeEmailComposer() method opens a new screen (named a 'Card') where the user can confirm/modify/cancel/submit an email.
One of the benefits of the emailComposer card is that you give the user the ability to select which email account they wish to send it from (e.g. if they have both a personal and work account on the device).

Related

Restcomm USSD - do not return a dialog

I have a working USSD gateway, messages between the user's device and the app are set.
But there is a particular type of message where I don't want to send any dialog back to the user. When a user puts a sim inside a phone for the first time, an automated USSD call is made - I receive it and handle it, to send a configuration SMS or such.
The thing is, then I don't want to send anything to the user - there is no need for the user to be aware of that call. I didn't succeed to do that up to now. Using type End, Unidirectional or Abort didn't change anything. The message processUnstructuredSSRequest_Response still has a string that will show on screen, needing the user to click the "OK" button.
How can I make this happen ?
Found it. It's the prearrangedEnd dialog attribute, look for it in the doc https://www.restcomm.com/docs/core/ussd/USSD_Gateway_Admin_Guide.html#_attributes

send an SMS to a specific mobile number automatically after recieving an e-mail from a specific sender and subject

Using O365, i want to be able to send an SMS to a specific mobile number automatically after recieving an e-mail from a specific sender with a specific subject.
What is the best way to do this?
First, you need to set up the mobile number as so:
Open Outlook Web Access in your browser. The standard address is usually: https://mail.yourcompanydomain.com/owa. It’s important to note that you need to go to Outlook Web Access.
Log in using your Office 365 username and password.
Select Options – located in the top-right of the window – followed by See All Options.
Click Phone from the list on the left side of the window and then Text Messaging.
Pressing Turn on Notifications, selecting your Locale: and finally your Mobile Operator.
Press Next and enter your phone number with the area code, and without the country code.
Click Next again and check your phone. You should get a pass code in a text message that you will need to enter. After you receive this, press Finish.
Now you are ready to set up email notifications using an Inbox rule Those rules are based on your criteria, whether based on sender or content :)

Drupal User Creation SMTPS message fails

I'm using Drupal 7. When I add a user via Peoples > + Add User, I want the user to receive a notification e-mail.
If I tick the box: " Notify user of new account ", and then click "Create New Account", the page redirects to a blank page at "/admin/people/create". The user IS created, but no message is sent. There isn't even a log for an attempt to send an SMTP message in Drupal, or a failure etc. But the user exists.
If I DON'T tick the box, then the user is still properly created, but I don't get stuck at a blank page (the page is refreshed and I can see the green checkmark saying my changes have been applied)
How can I investigate this problem? I would like the e-mail to be sent (and I assume the blank page problem is related/the same issue) Like I said, I see no logs of e-mail trying to be sent, but it only crashes when I try to do so. Perhaps there's some other logs/debugging info I can enable?
Thank you very much,
Found my problem. The Token module was broken, and my user registration message used tokens, so this is why it crashed on user registration but not SMTP test.
Re-installing a fresh copy of the Token module fixed it.

DNN 7 Verification Code and Email - How To Resend, Verify Programmatically When Code Is Available?

When a user completes registration and logs in for the first time, they are forwarded to some page and are told to go to their email and click the verification link.
We're using DNN 7 and Up.
Sometimes, users don't get the verification email, and as administrators, we'll have to manually verify them via the admin/host UI.
What DNN functions are there to resend the verification email to the user logged in? (I don't want to rebuild the entire verification email body from scratch getting into tabs, skins, and other DNN entities.)
What page/module do I go to to add a button to resend the email verification (and add the verification code textbox and submit button for it)?
Suppose they want to enter the verification code in a text box on the same page (their preference instead of clicking the verification link in their email) - what function[s] do I need to call to do this? (What happened to this verification code textbox that showed up on the login control/module when the user tries to log in for the first time?)

Sending users messages - The right way

we would like to let the logged user in our web site invite his friends to participate in some scenario, IIRC the options we have are:
Keep in mind, we MUST know which users the message/notification sent to in order to interact back with the selection.
1) Raise a request dialog, with the multi friend selector, but unfortunately the 'message' field in the 'apprequest' dialog is only displayed in the app center and is not visible in the top bar notifications. which is very important for us.
2) Send a personal message, but this has no friend selector, so we raise the 'send' dialog but the selected recipients by user are not being recieved in the callback (only status is recieved back)
This question was asked here:
When a Facebook user sends the Send dialog within an application, can the application track the recipients?
We thought maybe to raise our own dialog for friend selection, and then popup the 'send dialog' with a pre-defined recipients but the user still can change the recipient in the send dialog (there's no way to freeze the selected recipients)
So what is the solution for this requirement?
Thanks.
We have decided to go with app notifications as it's the best option for the current restrictions.