XMPP sendMessage does not send the message - google-app-engine

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.

Related

Not received emails even though the SendGrid activity shows Delivered

I have created Azure Logic App with Recurrence trigger and then used SendGrid connector for sending emails to multiple team members.
I didn’t receive any email even though the logic app actions executed successfully. After that I have checked SendGrid account email activity status, it is having “Delivered” status for the mentioned to email address in the SendGrid action.
Note: I have whitelisted the Outbound IP address of my logic app in SendGrid IP Address Management.
Twilio SendGrid developer evangelist here.
I don't know how Azure Logic Apps trigger emails with SendGrid, but if an email isn't being sent they shouldn't be getting the "Delivered" status.
You said that you have not set up Single Sender Verification or Domain Authentication. In order to send an email using SendGrid from the email address you provide, that email address should either have been verified as a Single Sender (which is mostly useful for testing) or it should be from a domain that you have authenticated with SendGrid.
Try setting one of those verification methods up and then try sending emails again.

Gmail API: Recipient of the email will see red warning about the safety of the email

We have a problem with all emails sent via our Gmail API App.
All of them deliver with a warning about the safety of the email
This message seems dangerous. Many people marked similar messages as phishing scams, so this might contain unsafe content. Avoid clicking links, downloading attachments, or replying with personal information.
This happens only when sending an email through our Gmail API but when sent via SMTP will deliver the message without any warning.
This warning message appears on all emails sent via our Gmail API Application, no matter if the sender is a Google workspace user or a free Gmail user.
Can anyone help on this?

Mail GAE not sending but

I have a problem sending mail with JavaMail Service in GAE.
I did all the code in the documentation, i debug it online and it work fine, and it count the mail sended in the quota section the problem is, i didn't receive anything, and also checked with the account sender and it's the same there isn't any trace of mail sended. I tried this for some mails address and it's not working too.
Anyone had this problem yet? A solution to this?
The problem is that the mail sended as SPAM on gmail account.
Read doc: https://cloud.google.com/appengine/docs/java/mail/#Java_Authenticating_mail_DKIM
The email used to send the mails must be a member of the application. It can be the problem... It was with me.
https://cloud.google.com/appengine/docs/python/mail/
The link is about python but for sure that the same email rules apply to Java.
For security purposes, the sender address of a message must be one of the >following:
The Gmail or Google Apps Account of the user who is currently signed in
Any email address of the form anything#appname.appspotmail.com or >anything#appalias.appspotmail.com
Any email address listed in Email API Authorized Senders found in the App >Engine Settings page of the Developers Console

telepathy-glib send a XMPP message

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?

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?

Resources