how to get a different notification sound for Certain criteria emails gmail iphone? - iphone

I want to get notified with a special notification ( different sound ) on my iPhone concerning a certain email received ( on Gmail App ) - criteria must be met for this notification ( as keyword that the body contains) .

Related

Flutter : timestamp of incoming SMS is wrong using telephony package

I am developing a SMS app in flutter using telephony package. In this app, app is listening an incoming messages and doing some processing on it. After processing, I want to store some unique identifier for this particular SMS in local database so that when I have to display this message to user with processed result, I can use this ID from local database and filter SMS from Inbox. I tried following few logic but it did not work :
1- smsID from Inbox to local DB but it is not reliable as if particular message is deleted from inbox, new incoming sms get same smsID as deleted one.
2- (time stamp and address) of incoming sms but the problem is that I am getting the timestamp of incoming sms with around 1 second less than what I am getting from Inbox. e.g the actual time stamp is 12:10:32 in inbox but in the case of receiving incoming sms, it is 12:10:31. I don't know what is the problem.
Please help me find a solution for this.

How to send SMS Texts and iMessages from PHP mail() without knowing the Carrier

In earlier years, when I wanted to programmatically send text messages to mobile phones/cell phones I needed to know the carrier and the carrier's text service domain name in order to form the To: address.
But these days, many sites are able to text without asking me for my carrier.
How are they doing that? Is there a new way to send sms and imessage "emails" without the carrier element?
However they are doing it, they are ultimately sending a message to a correctly formatted 'email' address. For example, if a person has mobile phone number 555-666-7777 and the carrier is AT&T.. they are sending a message to 5556667777#txt.att.net.
They could be using a service that takes a phone number and returns a properly formatted 'email' address, or they could be using a script that tries each carriers 'postfix' after a given number until they find one that works. There is also the possibility for any phone number that it doesn't belong to a device that can accept email messages (an SMS is ultimately an email message) such as a landline.

Fire event before sending email in Laravel

My webhost imposes a limit on how many emails can be sent from my email account. I'd like to create an event that logs how many emails have been sent that day every time a new email is sent. If the maximum number of emails is reached, I'll switch my app to a different email account to avoid conflicts.
Creating the event shouldn't be a problem. My question is how would I go about setting it up so it fires every time an email is sent? Would it be something like extending Mail::send so that it includes something like this?
$event = Event::fire('mail.send', array($data));

IOS - trigger a SMS message as an alarm (send a single userpredifined SMS message automatically)

I am programming a location triggered alarm, for wich the user can be informed either by ringtone or SMS.
For the SMS: the users defines the SMS content and contact, when the alarm is triggered i want to send it once. The alarm is then disabled.
The ringtone is quite easy, however other posts emphasize that it is not possible to send the SMS automatically or to delay the sending of a SMS.
However, that's what the Auto Alert Alarm Clock available on the app store is doing:
https://itunes.apple.com/us/app/auto-alert-alarm-clock/id639611413?mt=8
any hint on how to do that?
They most likely have their own server that the app sends a request to. When the server receives the request, it sends a text message to the designated number.

send sms using ipad through my Own application

I am building a system in iOS on ipad which records appointments. Once a appointment is scheduled, a message needs to be sent to the number given while scheduling. Is there a way i can send a SMS through ipad?
It's not possible to send an SMS while remaining in the app on iOS.
You could allow the user to send an SMS by tapping an element which would bring up the messages app and allow you to send one there, but not in the app itself.
You could however, use your own solution in Obc-C (or written in another language such as PHP) which sends the messages through a message gateway.
An example would be this:
http://net.tutsplus.com/tutorials/php/how-to-send-text-messages-with-php/