Additional information about the SMS-Gateway
1. Number of characters
Please note that the characters in the sender's address, the subject as well as the text body are relevant. A message with more than 360 characters in total will not get delivered. Instead, a non-delivery mail will be sent back. If the total number of characters is less than 360, the first 160 characters will get delivered, while the rest is truncated without notice. For your convenience we recommend the web application http://websms.switch.ch which lets you send up to 600 characters in up to 5 SMSs.
2. Sender format
The sender field now contains these items: "SWITCHsms: F:<emailaddress> S:<Subject>"
3. Text encoding
By default only pure text is accepted. In particular, HTML-formatted messages will be rejected. Special characters encoded in ISO-8859-1 may get through, though.
4. Confirmation
Do you need to know whether the SMS has actually been delivered? You may now want to include one of these lines
##notify=success ##notify=failure ##notify=all
in the body of the SMS in order to get notified in case of a successful delivery, a failure, or simply just all events.
5. Non-Delivery Messages
Non-Delivery Meldungen are being sent back, if the message could not be delivered, and the "Reply-To"-field in the mail header has been specified. Reasons for non-delivery include:
- the mail consists of more than 360 characters, sender address and subject included.
- The sender is not allowed to use the SMS service.
- The message contains some unsupported text encoding like eg. HTML.
6. Flash SMS
A Flash SMS can be useful in cases such as an emergency (for example, a fire alarm) or confidentiality (for example, a one-time password). It appears directly on the main screen without user interaction and is not automatically stored in the inbox. If you put a special piece of text
##type=flash
in the body of the SMS you can now easily send a Flash SMS.
