telepathy-glib send a XMPP message - c

Using GNOME Online Accounts API I'm getting a TelepathyGLibAccount object and then the Connection used in, but I can't find any documentation/example how to send a XMPP message (or at least a message to other client). Any ideas?

Related

How to handle incoming message to create a conversation in Twilio conversation api?

I have a chat app link now I need to add a SMS participant.
My use case is say you have a number and you send a message in my twilio number. Now I want to create a conversation between us.
I need to know what are the steps to handle an incoming message using webhook and create a private channel so that it automatically creates a conversation between the twilio number and the user. I am not able to capture the message in my backend api endpoint which I specified in pre-event and post-event webhook under conversations.Any help would be appreciated.
You will find the steps required for turning an inbound SMS message into a conversation message in the documentation on Inbound Message Handling & Autocreation. All I can do is recommend you read through there.

Sending a message to Google Talk/Chat Hangouts from GAE

Although this Google document describes a simple way for a GAE app to send a message to a Talk/Chat user, apparently this feature has been discontinued. Is there another method for a GAE app to send a message to a Talk/Chat user?
As an aside: for SMS'es from real phones sent to my Google Voice number, each SMS received is also received as an email in my Gmail account. And the sender of the email is 18888888888.19999999999.somegibberishchars-#txt.voice.gmail.com, where 1888... is my GV number and 1999... is the sender of the SMS. I can reply an SMS to the sender by simply sending mail to this email address. This email address does not expire, ie I can still send SMS'es using this months later.
Is there a similar way to deliver messages to Talk/Chat by sending to a specially formatted email address?

About google app gmail api

I was trying to send emails to my client from my application after few sent mails all mails bounces back with a message saying "You have reached a limit for sending mail. Your message was not sent." And one more thing when i see my developer console gmail api it still showing 0% usage.what is this issue? is this a bug or something else?
There's an extra limit on sending because it's a vector for abuse--it doesn't show up in the developers console but it's the same as sending via SMTP or the web interface.
This seems to have a good overview:
http://www.labnol.org/internet/email/gmail-daily-limit-sending-bulk-email/2191/

XMPP sendMessage does not send the message

I am using the XMPPservice's sendMessage method
to send a message to google mail but the message
can not be sent without any error log.
Thank
A common error source is that the receiver first has to accept an invite from the sender. Only then messages will be relayed to the receiver. Have you sent an invite and was it accepted?
If the Gmail recipient is using Google Apps (e.g. Google Apps for Business), the recipient domain must publish SRV records in their DNS to allow routing of the XMPP packets to the Gmail Chat backend. The vast majority of Google Apps domains will not likely have SRV records configured.
If the recipient is a #gmail.com / #googlemail.com account, then (as #schuppe suggest) the most likely cause of this issue is due to the fact that the recipient did not accept the invite from the sender.

Receive mails through a port and extract body and headers

I am trying to build a proxy server in between my application and my smtp server. So when my application sends an email to some email id, my proxy server should catch it and change its "TO" address to my id and then send it to smtp server so that I'll get that message in my mail. This is a different case compared to reading messages from an inbox. I dont know how to distinguish each separate mail and get mail headers and body from each mail.
Any help would be greatly appreciated. Thanks in advance!
You should take a general look at JavaMail API and playing with it before asking for complete solutions.
Some other resources:
jGuru: Fundamentals of the JavaMail API
the JavaMail API - FAQ

Resources