summaryrefslogtreecommitdiffstats
path: root/README.rdoc
diff options
context:
space:
mode:
Diffstat (limited to 'README.rdoc')
-rw-r--r--README.rdoc17
1 files changed, 11 insertions, 6 deletions
diff --git a/README.rdoc b/README.rdoc
index 338f8c5..08680cd 100644
--- a/README.rdoc
+++ b/README.rdoc
@@ -42,18 +42,23 @@ That's it! Now you're good to go.
* <b>Check sms_fu.yml for a complete list of supported carriers, including international
carriers as well.</b>
-
- deliver_sms("5558675309","at&t","your message here")
-
+
+ deliver_sms("5558675309","at&t","message")
+
+* If you want to set a custom from e-mail per SMS message, you can do so
+ by doing the following.
+
+ deliver_sms("5558675309","at&t","message", :from => "bob@test.com")
+
* You can set the maximum length of the SMS message, which is not set by
default. Most phones can only accept 128 characters. To do this just
specify the limit option.
-
- deliver_sms("5558675309","at&t","your message here", :limit => 128)
+
+ deliver_sms("5558675309","at&t","message", :limit => 128)
* You can retrieve just the formatted address to use in your own mailer.
get_sms_address("5558675309","at&t") # => "5558675309@txt.att.net"
-
+
Copyright (c) 2008 Brendan G. Lim, Intridea, Inc., released under the MIT license