# File app/mailsender/mail_sender.rb, line 31
        def send
                unless @from && @to_list && @subject && @smtp && @content.length > 0
                        raise ArgumentError.new("送信に失敗しました。" +
                                "from=[#{@from}],to_list=[#{@to_list}],subject=[#{@subject}],smtp=[#{@smtp}]," +
                                "content=[#{@content}]")
                end
                
                @head << "From: #{@from}\n"
                @head << "To: #{@to_list.join(',')}\n"
                @head << "Subject: #{@subject}\n"
                @head << "Mime-Version: 1.0\n"
                @head << "Content-Type: multipart/mixed; boundary=\"#{BOUNDARY}\"\n"
                @head << "\n"
                
                # セッションを開く&閉じる
                puts "メール送信開始"
                Net::SMTP.start(@smtp, @port, @helo_domain, @account, @password, @authtype) { |smtp|
                        # メール送信
                        smtp.send_mail(@head + @content, @from, @to_list)
                }
                puts "メール送信終了"
        end