submit_mail (Freedb)

    # File lib/freedb.rb, line 261
      def submit_mail(smtp_server, from = "localuser@localhost", port = 25, to = "freedb-submit@freedb.org")
        # +to+ can be set to "test-submit@freedb.org" to check validity (for
        # developpers)
        require "net/smtp"
        header = {
          "From" => from,
          "To" => to,
          "Subject" => "cddb #{@category} #{@discid}",
          "MIME-Version" => "1.0",
          "Content-Type" => "text/plain",
          "Content-Transfer-Encoding" => "quoted-printable",
          "X-Cddbd-Note" => "Sent by ruby-freedb #{VERSION}"
        }
        msg = ""
        header.each { |k, v|
          msg << "#{k}: #{v}\r\n"
        }
        msg << "\r\n"
        msg << submit_body
        Net::SMTP.start(smtp_server, port) { |smtp| smtp.send_mail(msg, from, to) }
        nil
      end