Rails mailer mimepart visible as text in message body
问题 I'm sending test mail using ActionMailer. The template is being rendered and mail is being delivered fine. The only problem is the mimepart and other header data is displayed by Google in message body. Here is the code that mails.. def testing mail(:to => "apoorvparijat@gmail.com",:subject => "html mailer", :content_type => "text/html") do |format| format.html { render 'testing' } format.text { render :text => "bing" } end end and Here's the email received. ----==_mimepart_508fd46252b8c