Clickatell messages only delivered when message contains word "test" - sandbox

I've set up a Sandbox SMS environment using the new API and I have registered a test phone number. I'm successfully sending messages but only messages with the word "test" are being delivered.
Is this a requirement of the Sandbox environment?

In my case not.
I was trying to delete words Test+message+text, and all works fine.
My SMS request looks like so:
https://platform.clickatell.com/messages/http/send?apiKey=FeKBZwZ3T2q3BNcjsJvHCA==&to=1234567&content=How are you Darko?
After I paste this into my Chrome web browser, I got the message with content "How are you Darko?"

Related

Emails/drafts sent via Gmail REST API can't be opened in the new Gmail UI

When sending drafts via the Gmail REST API, the message in the "Sent Mail" folder can't be opened by the sender in the new Gmail UI. You get the error message "The conversation that you requested could not be loaded.".
The message on the recipient side can be opened without problem though, new UI or not.
Reverting to the old/classic Gmail UI allows the sender to open the sent message.
Steps to reproduce:
Compose a draft in Gmail (new or old UI doesn't matter)
Find the draft ID via GET https://www.googleapis.com/gmail/v1/users/me/drafts
Send the draft via POST https://www.googleapis.com/gmail/v1/users/me/drafts/send with body {"id": "<draftId>"}
Go back to Gmail and switch to the new Gmail UI, then attempt to open the recently sent draft in the Sent folder. Attempting to open the message will fail.
Revert to the old/classic Gmail UI and open the recently sent draft in the Sent folder. You will be able to open the message without issues.
The recipient will be able to open the message without issues, using either the new or old UI.
UPDATE
When the broken sent email receives a reply, it seems to get 'fixed' and the sender can now open the sent email from the new Gmail UI. This seems to suggest that the REST API is missing something that gets fixed once the thread is updated by other means?
The error message in the browser console when attempting to open the broken sent message:
Error: Ppa No message loaded when we received the DETAILED_CONVERSATION_MESSAGES_LOADED event.
I can't reproduce this. Note that in the reproduction steps #2 is unnecessary. Instead, the result of drafts.create() in #1 should be analyzed, the id of the new draft message is present there.
Also worth noting, Draft IDs are not the same as Message IDs. The response of drafts.create() and drafts.update() will be a Draft ID while the result of drafts.send() will be the message ID. When viewing the sent message in Gmail UI make sure you are using the message ID.

No user messages on Chatbase transcripts

I've been trying to take advantage of the Transcripts feature in Chatbase, but whenever I open a transcript all the user messages are shown as (No content).
The messages sent by the bot are all shown properly and the order of the messages is correct as well (both user and bot). On the messages report tab I can see the user messages so they are being sent across properly.
I'm sending all the messages using the generic message API, with the original text on the message field.
This has been happening consistently for me on all projects, so I'm probably doing something wrong..any ideas?
I work on Chatbase and would be happy to look into your issue. If you could please contact chatbase-support#google.com and provide the api key, the name of the bot, or the email address you used to create the account I will be happy to look into the issue for you.

Why attachments from Gmail drafts copied to Trash?

I use this Gmail API request for fetching Gmail messages in user mailbox. I need to list messages from Trash as well. But in some cases message list got by list messages request is different from actual content of Trash folder content.
To reproduce the problem next steps can be performed:
Ensure that my Trash folder is empty - no messages visible in Gmail web client and API list messages request returns 0 messages in Trash.
Start creating message by pushing "COMPOSE" button in Gmail web client.
Attach file to this draft message.
Get messages list in Trash using Gmail API list messages request.
The request returns 1 new message in user Trash folder (with the file attached to draft mentioned above) however it`s not visible in Gmail web client.
Is it normal or kind of bug? Is this a problem of Gmail web client or Gmail API?
Based from this thread, when you upload a file to Gmail as an attachment, Gmail creates a temporary file to hold the data and is then sent to Trash.
So, to get a more precise search, try adding q parameter using the advanced search syntax.
See Searching for Messages to learn more.

Send email from windows phone 8.1 app(c#). Using any SMTP server , I am trying using gmail smtp

I am developing Windows phone application using VS 2013. In this I want to send email from some app pages like contact support page.
I have tried the c# working code from a windows console app. But 'Mailmessage' keyword is not supported in windows phone app development .
I have tried 'EmailManager.ShowComposeNewEmailAsync(mail);' code from Send email from windows phone 8.1.
That is result in opening mail messanger app available in the devices/emulator. I don't want the mail messenger app to open. Instead I want send to email through only code...
How can I achieve this?
Any help/suggestion would be appreciated
You cannot send email without showing the email application to the user. Also, the user might have many emails so he needs to decide from which the message should be sent.
What you can do is send whatever you want to send by email to a server (for example using HttpWebRequest) and from there send the email.
You can send the message without displaying a standard message box.
The user should monitor the sent message.
This is a safety feature for Windows Phone.
Only use ShowComposeNewEmailAsync.
To send mail using SMTP in Windows Phone you can make use of MailMessage for WP8 & WP7.
It's not a free package, but you can make you use of it's free version.
It's free license never expires, but opens a popup message and add a sponsor string to both object and body.
Refer here for more : Nuget
First, I work with Xamarin.Forms.
As the (other) question to Xamarin.Forms is marked as "duplicate" of this question, I post my answer here.
I also think, it's not possible (and also would not be nice), if Emails would be set in the background (without user interaction).
Therefore, I let the users send EMail's over the device-object in my app:
Device.OpenUri(new Uri("mailto:" + oFreizeitDetails.cPAB_Mailadresse));
where "oFreizeitDetails.cPAB_Mailadresse" contains the mail-address as string.
This works, if a mail-client is installed on the device.
The mail-client then pops up, the target mail-address is prefilled and the user can finish the mail (add body-text, e.t.c.) and then send it.
There were some problems with the WP implementation in XF some time ago, but now (I work with XF 1.4.4 and WP 8.1), it also works with WP.

Overriding builtin mobile alerts via j2me or Sending SMS silently

I have designed an app which sends a number of SMS for performing an action, on each message send it shows builtin alerts from the mobile phone "Sending text message" & then "text message sent". Is there any way to override this annoying message and displaying my own alert there? I have tried to put alert there, but when it comes to send SMS mobile shows it's own at top and after completing the process shows my alert! What to do?
you need to use nokia sdk and you also need a little hack. Please see this
I dont know is this work in latest model or not but hope for the best.

Resources