egMember is work with Mail to Sms method to send sms notification. Here you can find how it work with Clickatell's SMTP API.
- First you need to have a Clickatell account, You can register it here.
- Once you registered, get your "username", your "password", and your API_ID
Then login to the script Admin Control Panel -> Configuration -> SMS Notification
- Set Admin cell phone: your cell phone number, needed if you want to send sms to you
- Sender email: your email address to send email to Clickatell
- Mailer program: mailer program which work with the sender email above
- Recipient email: sms@messaging.clickatell.com
- Save the settings.
Next, you need to set message parameters, click SMS Notification tab then you may edit then set Enable the notification that you want to send. To get it work, in message body you may type the rules:
user:xxxxx
password:xxxxx
api_id:xxxxx
to:xxxxxxxxx
text:meet me at home
Example for Registration notification:
user:clickatellusername
password:mypassword
api_id:api_id
to:{$member.phone}
text:Hi {$member.name}! Your account has been created
The most important to get sms sent, is the correct phone number of recipients. You must enter to:{$member.phone} , then the software will automatically replace it with the associated phone number.
For text: value, you can write usual message and use member variables as well.
Other tutorials in egMember:
Popular Tutorials: