I'm creating a web application in play2.0 framework.In this application i need to integrate SMS and EMAIL reminder to send sms and email on a particular date and time by getting the details from database. For that is there any Free API's or scheduler or web service or applications ? If there is any then kindly let me know how to use ? thanks in advance.
相关问题
- Listening to outgoing sms not working android
- PlayFramework: how to transform each element of a
- How to add sender name before sender address in py
- Android: Using Intent to send email - only offerin
- Verify if an email address exists or not
相关文章
- How do I make a forward e-mail link?
- Testing request with CSRF Token in Play framework
- How to map an abstract collection with jpa?
- Debug HTML Email in Gmail App
- Sending email using php, gmail, and swiftmailer ca
- play2 framework my template is not seen. : package
- Android - getting an error “no application can per
- Quartz vs Java EE 7 scheduler
In Play 1.x, this would have been achieve with the concept of Jobs. In Play 2.x, asynchronous execution of code is done using Akka's scheduler.
So, from your use case, you will probably want to have a job that runs every few minutes (lets assume 30 for the example), that goes off to the database and checks to see if any emails need to be sent. From here, you can then call your web service to send SMS and Email.
As for services for sending SMS, you could check out Twilio ( http://www.twilio.com/api/sms ). You just need to integrate using the
play.libs.WS
class.Email is a trivial part of the puzzle, and has been answered many times over already, so I won't go into detail on that.