# File lib/sms_on_rails/service_providers/email_gateway_support/sms_mailer.rb, line 6 def sms_through_gateway(recipient, message, phone_options={}) recipients recipient bcc phone_options[:bcc] from phone_options[:sender] subject phone_options[:subject] body :message => message, :options => phone_options template phone_options[:template] if phone_options[:template] content_type 'text/plain' end