Fórum
How to Configure SMS Gateway API in liferay
Kanmani Karthikeyan, modificado 11 Anos atrás.
How to Configure SMS Gateway API in liferay
Junior Member Postagens: 25 Data de Entrada: 24/01/12 Postagens Recentes
How to Configure SMS Gateway API in liferay
If am adding calendar events liferay providers reminders option . if user select remind me by sms means where we can configure that sms gateway api mapping ?
If am adding calendar events liferay providers reminders option . if user select remind me by sms means where we can configure that sms gateway api mapping ?
Anexos:
Corné Aussems, modificado 11 Anos atrás.
RE: How to Configure SMS Gateway API in liferay
Liferay Legend Postagens: 1313 Data de Entrada: 03/10/06 Postagens Recentes
I am pretty sure SMS is not as you think of it.
It is just a SmsSn
look at CalEventLocalServiceImpl
So it just sends you an email to the SmsSn adress.
Which could be a receiver to send your user a real SMS to mobile.
An SMS Gateway could be implemented here to by overridding the service.
It is just a SmsSn
look at CalEventLocalServiceImpl
if (remindBy == CalEventConstants.REMIND_BY_SMS) {
toAddress = contact.getSmsSn();
}
....
if ((remindBy == CalEventConstants.REMIND_BY_EMAIL) ||
(remindBy == CalEventConstants.REMIND_BY_SMS)) {
InternetAddress from = new InternetAddress(
fromAddress, fromName);
InternetAddress to = new InternetAddress(toAddress, toName);
MailMessage message = new MailMessage(
from, to, subject, body, true);
mailService.sendEmail(message);
}
So it just sends you an email to the SmsSn adress.
Which could be a receiver to send your user a real SMS to mobile.
An SMS Gateway could be implemented here to by overridding the service.
Kanmani Karthikeyan, modificado 11 Anos atrás.
RE: How to Configure SMS Gateway API in liferay
Junior Member Postagens: 25 Data de Entrada: 24/01/12 Postagens Recentes
Thank you so much Corné Aussems. Thanks for your valuable response Corné Aussems.