AWS Handling bounces & complaints - amazon-sqs

I need to handle bounces & complaints.
I've set up SES to do an event on bounce & complaint which Calls an SES-TOPIC which then is linked to an SNS-Queue.
I'm not sure how this notifies my server or how to hook it up to my server. I just need for AWS to call an endpoint of mine with data or to provide an endpoint with data.
Can anybody help explain what I'm missing here?

Related

How can I go about setting up push notifications using firebase cloud messaging and cloud functions?

I'm been coding for a year now and know swift really well and the basics to javascript. I've built a social media like app and its completely done besides the push notification functionality... which i've been struggling with for quite a while now.
I'm having trouble figuring out how to implement these in order to send notifications like when a user follows another user or they receive a new messege.
I don't understand how to integrate the cloud functions that I would write using and node.js with my xcode project.
When I look for documentation online its usually just how to send push notifications using the firebase notifications console which is cool but doesn't trigger based off specific user actions or events (ex: when the user gets a new follower)
I think since im struggling with grasping the concept of how to implement it, the actual technical set up of it makes even less sense. Any advice or resources would be greatly appreciated.
Thank you
Conceptually, what you have to do is set up server-side processing of your database to manage when events occur. This is what the Node.js code will be. Everything is connected through the database-- your Xcode and Node.js code work independently, but both communicate with Firebase. You can create a Cloud Function that will automatically run when it detects changes in your database, and this will automatically send push notifications.
I've done a similar project-- I set up a listener for my Realtime Database in my Cloud Function. Every time the user got a new follower, i.e. their followers tree was updated, I sent a notification to the device using an FCM token (which I also stored in the database).
exports.onTimeEnd = functions.database.ref("users/{user}/followers")
.onUpdate((snapshot, context) => {
// your code here
}
In that block, you can call a .once() to find out the user's token to send them a notification with.
https://firebase.google.com/docs/functions/get-started
This link here told me everything I had to do in regards to set up in the terminal. Super helpful.

Rincentral Webhook for incoming voice calls - missing some calls

I have created one subscription for incoming missed calls and voice calls. It works great for missed calls but woobhook is not sent for some voicemails. I am trying to find why i am missing some voicemails but no luck.
Please follow attached screenshot to refer event filter added for subscription.
Has anyone experienced this?
Does anyone know how to debug webhook means status(create,send)?

Push notifications that let you watch for changes to Gmail mailboxes

I want to receive email from gmail, if new email comes, my server should get a callback and should get that messages.I tried with gmail push notification ,it says to create a topic , and subscription ,but my problem is ,How to restrict that coming email to be specific to that topic,or I am be wrong, I just want that email to come at my site , I am using ruby-rails
I'm not a Ruby on rail expert, however, this could be a potential solution to your question via Labels filtering actions. This can be achieved via the Users.watch method.
Here is an example provided by a fellow SO of how it can be done here.
Hope this helps or at least provides you a sense of direction. Cheers!

update tableview if data is changed online

We are making an app for the hotel where we have already made an app where orders can be placed through app. All those orders can be seen on web portal by refreshing the page.
Now client requested to create an app where waiter can see the order on his iPad.
For that we will be having the tableview where all list of orders will be shown.
However I am not getting how I will refresh the table/ add the data if new order is made.
In short once order is made, at same instance waiter should get alert and table view should be updated.
Note: iPad/ iPhone get the data through webservice.
This can be achieved by calling webservice every 1 min or 30 seconds.
However I don't want to do this way...
If new stuff is added, webservice will send that data and I will add that data in my tableview. Means webservice will send me listener that new data is added
I need to know how can I listen this listener if webservice send me listener.
Any useful info on this would be appreciated.
Below link helped me for TCP in iOS.
http://www.tekritisoftware.com/sites/default/files/Socket_Programing_for_IOS.pdf
You could implement it using a TCP-based client-server approach, where the iPad is the client.
The iPad client connects to the server using authentication so you know which waiter is using the iPad.
The TCP uses duplex communication over the TCP socket so either side can send a message to the other.
If the server has something to give to the iPad/client/waiter then it simply sends it to them.
If the client wants to send a message to the server, like "I'm taking a break", or whatever, then it simply sends it to the server.
The range of information you can share between the client and server is actually unlimited.
There is no 6.
This requires the server to be written as well, however, so this solution is more than just iOS development. However a webservice would need similar development anyway.

How to test whether a mail was sent successfully using ActionMailer?

I'm using ActionMailer in Rails 3 to send periodic emails. I need to know whether an email was sent correctly (as far as it is possible to do so).
#lists.each do |list|
email = Reminder.deadline_reminder(list)
email.deliver
end
Is there a property of the email object (class Mail::message from the Mail library) that will tell me whether the send went correctly (no connection issues, authentication problems, etc)? I've looked through the classes on Github but haven't been able to figure anything out.
It all depends on what you consider successful.
You can test to see whether your code sent the message. You can often check the log to see if the mail-forwarding host received it and moved it on toward its destination.
But, only proprietary mail systems support delivery-receipts. SMTP doesn't and probably never will because of privacy issues and the inability of the mail-client vendors to agree on how to do it. So, even if it is delivered all the way to the intended destination there's no way to know if the person read it.
Your best bet is to put a link in the message that the user clicks which will tickle an app on the server with a token that was unique for that message. When the app sees the token it sets a flag letting you know they got the message AND at least read the part about clicking the link. Then, if there has to be a response within a given time you also track when the message was sent and escalate if the token wasn't received back within the time-limit.

Resources