lib/god/contacts/sms.rb in olgen-god-0.9.1 vs lib/god/contacts/sms.rb in olgen-god-0.9.2
- old
+ new
@@ -30,10 +30,10 @@
self.format = lambda do |phone, message, time, priority, category, host|
<<-EOF
From: god <#{self.message_settings[:from]}>
To: sms-gateway #{self.message_settings[:gateway_email]}>
-Subject: [message from god] #{message}; Host: #{host}; Priority: #{priority}; Category: #{category}
+Subject: [message from god] #{message}; Host: #{host};
Date: #{Time.now.httpdate}
Message-Id: <#{rand(1000000000).to_s(36)}.#{$$}.#{self.message_settings[:from]}>
#{self.message_settings[:gateway_key]}##{phone}
EOF