Page 1 of 2

Email Example / EMail Beispiel

Posted: 21. May 2019, 12:20
by Yoichrio
I don't receive notifications on the device when sending an email.
When I send from the admin site, I receive the notification.

Is there an indepth e-mail example?

Re: Email Example / EMail Beispiel

Posted: 21. May 2019, 13:37
by admin
Hello

here you will find a documentation:

https://www.pushsafer.com/en/email-gateway

If you have further questions, feel free to ask

Kevin

Re: Email Example / EMail Beispiel

Posted: 21. May 2019, 13:52
by Yoichrio
So I write at devicekey@pushsafer.com (case sensitive?)
What subject do I have to choose?
What goes into the message body?
Can anybody send to the device key or do I have to enable the sender e-mail somehow?

I tried a couple of variants without getting notifications on my device.
Sending to privatekey@pushsafer.com pushes a notification but there I can't choose a target device... (correct..?)

Re: Email Example / EMail Beispiel

Posted: 21. May 2019, 15:15
by admin
privatekey@pushsafer.com is correct!

In you dashboard you can generate a email address with your parameter.
email-gateway-1.jpg
email-gateway-1.jpg (87.65 KiB) Viewed 2097 times
an example
[privatekey]+d=[deviceid]+i=[icon]+s=[sound]+v=[vibration]+pr=[priority]@pushsafer.com

Parameter in [] you have to change with yours!

Mail subject is push title.
Mail text / body is push text!

Re: Email Example / EMail Beispiell

Posted: 21. May 2019, 17:05
by Yoichrio
Ah, cool! Can I also send a link with the mail?

Re: Email Example / EMail Beispiel

Posted: 21. May 2019, 17:46
by admin
yes you can do this with the parameter u

But some mail provider do not accept to long addresses.

In this case you can create an email alias in your pushsafer dashboard (at the bottom)!

Than use the alais email adresse with predefined parameter.

Re: Email Example / EMail Beispiel

Posted: 21. May 2019, 18:28
by Yoichrio
Hmmm... I can't get the alias to work....
MailAlias@pushsafer.com with subject "Test" and body "Test" doesn't generate a message on my device...

I see on the web page that the message is available under the device but on the device itself, I didn't get it...

What am I doing wrong?

Re: Email Example / EMail Beispiel

Posted: 21. May 2019, 19:17
by admin
you have to send the mail to aliaskey[at]pushsafer.com
Try to set the alias sound to default

Re: Email Example / EMail Beispiel

Posted: 21. May 2019, 20:55
by Yoichrio
Did that already... No success...

Re: Email Example / EMail Beispiel

Posted: 22. May 2019, 09:11
by admin
but i see that the messages send correctly.
It seems you have a problem with the receiving of push-notifications!
Please try to login as admin in the app not as guest!

What android device you have?