Send SMS function: gammu_sendsms()
Last updated on
30 April 2025
Gammu modules comes with gammu_sendsms() function to send SMS.
Syntax: gammu_sendsms($gammu_destinationnumber, $gammu_textdecoded, $SendingDateTime = NULL)
Examples:
- Send simple SMS
gammu_sendsms('082111978168', "Hello word"); - Send simple SMS at specific date time
gammu_sendsms('082111978168', "Hello word", '2012-10-25 12:00:00'); - Send simple SMS with line break
gammu_sendsms('082111978168', "Hello\nword");
Help improve this page
Page status: Not set
You can:
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion