Test an e-mail media type through ZABBIX API (pyzabbix) - zabbix

is it possible to test an e-mail media type through zabbix API (pyzabbix)
E-mail media type

Related

How to view JSON payloads for Email sends?

My company is having trouble with account activation emails not sending out the proper activation link within the email so users can complete the account creation process.
We run our email sends through SendGrid and they instructed me to send them my JSON payload for email sends so they can see what the issue is causing this disconnect.
I have never had to work with JSON or pull this type of data and embarrassingly do not know where to start. How would I go about viewing this data?

Sending a message from FCM Console not working for Web Tokens

I am implementing Web Push Notification in an application and I have successfully registered the client app with GCM. I have the subscription object that contains the endpoint that looks like this.
"https://android.googleapis.com/gcm/send/dV4lSfI5J6Q:APA91bEU28F9YG5qNr3xSjvYlH2Mh1GPgiqMaRcjandHbpfqnVyAeZxqoE31OXYq4yzW2_vrkn74YHdgsITZP_6SELO8-xHf1hylquJefJdY85-Xx9AWTAPP9H6kfq7CKp23dsoQHbH
I read and found out that we need to use a third party library like web-push to send push using this endpoint to the clients because the payload needs to be encrypted according to spec. My objective is to send notifications to all my users, web + mobile, at once, using Firebase Console's Notification feature.
Is there a way to send push to web clients using Firebase console or to convert the GCM endpoint to an FCM token?
Update: If I try to use Firebase console to send push the token generated above, I get the following error.
As per testing this out, for some reason, registration tokens for Web are not working or allowed in the Firebase Console. Only tokens for Android and iOS do:
The request could still proceed where the console would show that it is sent/complete, but there wouldn't be any messages received.

Trouble coding for receiving and parsing MMS on Android?

I am trying to receive MMS through my client's messaging app that's in development. One major issue that I am facing is that I am unable to test in India as service providers here are using legacy system of sending MMS. What I mean is while using default messaging app, when I send MMS from one phone to another, I don't receive the message itself, instead I get the link to portal of my service provider, where I have to login with my username and password to see the attachment as well as the text message. Therefore, I am unable to test MMS receiving and the parsing of received binary data on my phone. So, I have to ask if anyone else who has worked on a messaging app before, could provide some guidance on the topic.

Check if device is offline with firebase cloud messaging

When sending messages via Firebase Cloud Messaging, the repsonse from FCM servers tell about the processing of the Request but not whether it was delivered or not to the device.
So, for offline devices how could we know whether message was delivered?
For example,
{"multicast_id":7138524052704576147,"success":1,"failure":0,"canonical_ids":0,"results":[{"message_id":"0:1472139369768700%d42090b5d42090b5"}]}1
the above JSON is a response from FCM server for request with time_to_live:0 and priority:'high' but the situation is that device for which I want to receive the message is offline.
Is there any possible way to detect if the device is offline?
Yes. If you link your FCM API key with Developer Console, you have access to View FCM statistics and issues. In particular:
Using FCM Diagnostics, you can troubleshoot messages sent through FCM. You can look up the message(s) by registration token or message ID.
…
You can look up messages sent through Firebase Cloud Messaging with a registration token or message ID.
The message status returned indicates whether the message was delivered, stored, expired, etc.
Note that this diagnostic tool should only be used if you have a made a recent request. This is what the Developer Console says in the FCM Diagnostics section:
This is not a real-time diagnostic tool, the data shown may be a few minutes out of date, and is only kept for a few days. If you do not see the data that you were expecting, please try again after a short while.

adding email domain name verification to a website

I want to add email verification for the sign up page for my webpage. I want more then just regular expression verifying to check if the email is in the correct format.
What is the correct method / how do i go by implementing some sort of check to see if domain names are valid domain names?
I have a function that connects to the mail server and checks the email ttps://github.com/hbattat/verifyEmail