lib/rex/proto/mms/client.rb
Method send_mms_to_phones
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def send_mms_to_phones(phone_numbers, subject, message, attachment_path=nil, ctype=nil)
carrier = Rex::Proto::Mms::Model::GATEWAYS[self.carrier]
recipients = phone_numbers.collect { |p| "#{p}@#{carrier}" }
address = self.smtp_server.address
port = self.smtp_server.port
Method send_mms_to_phones
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def send_mms_to_phones(phone_numbers, subject, message, attachment_path=nil, ctype=nil)