Page 1 of 1
CR-Confirm delay time not working
Posted: 18. Jan 2021, 02:32
by tafische
Sending an email with +2 priority and CR=600 (+i=84+s=61+v=3+pr=2+cr=
600@pushsafer.com). My IOS app is alerting every 10 seconds rather than the 10 minute increments specified.
12596136 > 34051
Any ideas? Thanks!
Re: CR-Confirm delay time not working
Posted: 18. Jan 2021, 09:11
by admin
it seems you send the mail to your alias mail address with cr=60
Aliases overwrites the transmitted values!
So edit your alias to 600 or send the mail to your main pushsafer mail address!
Kevin
Re: CR-Confirm delay time not working
Posted: 20. Jan 2021, 20:10
by tafische
Hey Kevin! Thanks for the reply. I checked and I am sending to my primary API key, I even deleted my Alias just to make sure. I also tested using the web interface with the same results. Maybe I am missing something, but I dont know what....
Date Parameter Device d Message ID > Device ID
2021-01-20 14:05:37 34051 >
2021-01-20 14:05:26 34051 >
2021-01-20 14:05:14 34051 >
2021-01-20 14:05:02 a 12642488 > 34051
Re: CR-Confirm delay time not working
Posted: 20. Jan 2021, 21:04
by admin
i checked the system and all works like it should!

- confirm_test.jpg (13.66 KiB) Viewed 12805 times
Please try this little script to test if
cr works correctly!
Code: Select all
<script>
var xhttp;
if (window.XMLHttpRequest) {
xhttp = new XMLHttpRequest();
} else {
// code for IE6, IE5
xhttp = new ActiveXObject("Microsoft.XMLHTTP");
}
xhttp.open("POST", "https://www.pushsafer.com/api", true);
xhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
xhttp.onreadystatechange = ProcessRequest;
xhttp.send("t=Confirm Test"+
"&m=open pushsafer to confirm message"+
"&d=[DEVICEID]"+
"&k=[PRIVATEKEY]"+
"&i=3"+
"&c=#AaDAA1"+
"&s=61"+
"&v=3"+
"&u="+escape('https://www.pushsafer.com')+
"&ut="+escape('Open Pushsafer')+
"&re="+
"&ex="+
"&pr=2"+
"&cr=600"+
"&a=1"
);
function ProcessRequest() {
document.write('ReadyState: '+xhttp.readyState+'<br>');
document.write('Status: '+xhttp.status+'<br>');
document.write('ResponseText: '+xhttp.responseText+'<br>');
}
</script>
Copy this code in a html file and open it in a browser of your choice!
Replace [DEVICEID] and [PRIVATEKEY] with your data before!
Kevin
Re: CR-Confirm delay time not working
Posted: 20. Jan 2021, 21:59
by tafische
Ran the script and had the same result. Using my main private Key.
2021-01-20 15:50:15 34051 >
2021-01-20 15:50:04 34051 >
2021-01-20 15:49:47 34051 >
2021-01-20 15:49:42 34051 12643660 > 34051
2021-01-20 15:47:26 34051 >
2021-01-20 15:47:15 34051 >
2021-01-20 15:47:03 34051 >
2021-01-20 15:46:59 34051 12643625 > 34051
Re: CR-Confirm delay time not working
Posted: 20. Jan 2021, 23:34
by admin
do you have the same trouble when using
resend &
expire parameter? Please try the script below!
Code: Select all
<script>
var xhttp;
if (window.XMLHttpRequest) {
xhttp = new XMLHttpRequest();
} else {
// code for IE6, IE5
xhttp = new ActiveXObject("Microsoft.XMLHTTP");
}
xhttp.open("POST", "https://www.pushsafer.com/api", true);
xhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
xhttp.onreadystatechange = ProcessRequest;
xhttp.send("t=Confirm Test"+
"&m=open pushsafer to confirm message"+
"&d=[DEVICEID]"+
"&k=[PRIVATEKEY]"+
"&i=3"+
"&c=#AaDAA1"+
"&s=61"+
"&v=3"+
"&u="+escape('https://www.pushsafer.com')+
"&ut="+escape('Open Pushsafer')+
"&re=60"+
"&ex=600"+
"&pr=2"+
"&cr="+
"&a=1"
);
function ProcessRequest() {
document.write('ReadyState: '+xhttp.readyState+'<br>');
document.write('Status: '+xhttp.status+'<br>');
document.write('ResponseText: '+xhttp.responseText+'<br>');
}
</script>
Re: CR-Confirm delay time not working
Posted: 21. Jan 2021, 05:16
by tafische
12646543:34051
When I run the second script, I only receive a single alert with no retries
Re: CR-Confirm delay time not working
Posted: 21. Jan 2021, 09:13
by admin
Hello again,
after a little sleep i found the issue (Time zone conversion) and fixed it!
Please try again!
Thanks for your help, i credited some api calls to your account.
Kevin
Re: CR-Confirm delay time not working
Posted: 21. Jan 2021, 15:13
by tafische
Ich möchte mich recht herzlich bedanken.
Everything seems to be working as expected. This is by far the best notification app I have ever used and I am very pleased!
Re: CR-Confirm delay time not working
Posted: 21. Jan 2021, 17:11
by admin
great to hear that all works like it should!
You like Pushsafer Service and Support - please leave a little review on the appstore.
Thanks Kevin