summaryrefslogtreecommitdiffstats
path: root/README.rdoc
diff options
context:
space:
mode:
authorBrendan G. Lim2008-07-31 13:48:15 -0400
committerBrendan G. Lim2008-07-31 13:48:15 -0400
commit3912b0b91621ba1a827585f3b22c1426fc70c9e4 (patch)
tree1a49af99446b06490544835ea5dcba50aef728e4 /README.rdoc
parent09fc1fa3076082d98b61f7cdf0d10dd5abd30a1a (diff)
downloadsms-fu-3912b0b91621ba1a827585f3b22c1426fc70c9e4.tar.bz2
Adding ability to specify custom from address per mailing
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