# File lib/aws/simple_email_service.rb, line 333
    def send_raw_email raw_message, options = {}

      send_opts = {}
      send_opts[:raw_message] = {}
      send_opts[:raw_message][:data] = raw_message.to_s
      send_opts[:source] = options[:from] if options[:from]

      if raw_message.respond_to?(:destinations)
        send_opts[:destinations] = raw_message.destinations
      end
      send_opts[:destinations] = [options[:to]].flatten if options[:to]

      response = client.send_raw_email(send_opts)
      if raw_message.respond_to?(:message_id=)
        raw_message.message_id = "#{response.data[:message_id]}@email.amazonses.com"
      end

      nil
    end