here is a problem accepting emails from Gmail for redirection

Pushsafer make it easy and safe to get push-notifications in real time on your Android or Windows mobile device, iPhone, iPad and Desktop!

Mit Pushsafer kann man in Echtzeit, einfach und sicher, Push-Benachrichtigungen auf sein iPhone, iPad, Android oder Windows Gerät sowie auf den Desktop senden lassen!

======================
Google Play
App Store
Windows Store
Homepage
davidfelipeaoc
Posts: 1
Joined: 25. Jun 2024, 22:31

here is a problem accepting emails from Gmail for redirection

Postby davidfelipeaoc » 25. Jun 2024, 22:37

I am trying to configure Gmail so that when a specific email arrives, it sends an email to Pushsafer to send me a notification. The problem is that the email arrives in text format, and when I copy the link, it generates a 502 error. However, when I try to send it to other emails, it works because a button appears. Google support says it's a Pushsafer issue. I disagree because I copy and paste the message as they suggest, but it still throws a 502 error.

User avatar
admin
Site Admin
Posts: 975
Joined: 1. Dec 2014, 12:41
Location: Germany

Re: here is a problem accepting emails from Gmail for redirection

Postby admin » 26. Jun 2024, 08:44

Hello,

I can't follow you.
Please describe your problem in more detail.
What exactly isn't working?
Pushsafer DE: Dir gefällt Service und Support! Dann freuen wir uns auf deine Bewertung!
Pushsafer EN: You like Service and Support! Then we look forward to your review!

Pushsafer.com Website - iOS - Android - Windows 10

mokber
Posts: 1
Joined: 22. Aug 2024, 07:12

Re: here is a problem accepting emails from Gmail for redirection

Postby mokber » 22. Aug 2024, 07:32

davidfelipeaoc wrote:
25. Jun 2024, 22:37
I am trying to configure Gmail so that when a specific email arrives, it sends an email to Pushsafer to send me a notification. The problem is that the email arrives in text format, and when I copy the link, it generates a 502 error. However, when I try to send it to other emails, it works because a button appears. Google support says it's a Pushsafer issue. I disagree because I copy and paste the message as they suggest, but it still throws a 502 error.
The issue seems to be the URL or percent encoding/decoding done by pushsafer when parsing emails sent to pushsafer. The verification email sent to the pushsafer email address to activate the forwarding contains an activation link.
In my case, this link contains the bracket characters `[` and `]`. Those characters are correctly URL encoded when sent by Gmail. But pushsafer decodes it and breaks the link.
You need to encode the path of the URL, meaning everything after `https://mail-settings.google.com/mail/`.

Just replace the brackets as follows:

Code: Select all

[ = %5B
] = %5D
This URL:

Code: Select all

https://mail-settings.google.com/mail/vf-[ANGjdJ-vzPo0_0SAceXqIZ{REDACTED}oega31cE94ltSljpg]-BpjUNEUrYoGAVjPa11_-v3voy7M
Turns into percent encoded version:

Code: Select all

https://mail-settings.google.com/mail/vf-%5BANGjdJ-vzPo0_0SAceXqIZ{REDACTED}oega31cE94ltSljpg%5D-BpjUNEUrYoGAVjPa11_-v3voy7M
There might be other unsupported characters in other validation links, I didn't encounter in my test. You can just use a URL encoder tool and encode the the whole string after `https://mail-settings.google.com/mail/`.


Who is online

Users browsing this forum: No registered users and 2 guests