我正在使用ckeditor我的应用程序批量邮件使用pony gem邮件正在发送,但我有几个问题:
以下是代码......
params[:l].each do |single_email| p single_email Pony.mail(:to => single_email, :from => 'example@example.co.in', :subject => @bmail.subject, :headers => { "Content-Type" => "text/html"}, :body => @bmail.body, :via => :smtp, :via_options => { :address => "smtp.gmail.com", :port => 587, :domain => 'example.co.in', :user_name => 'example@example.co.in', :password => 'paswd', :authentication => 'plain', :enable_starttls_auto => true }) end
%br = cktext_area :body, :body, :ckeditor => {:uiColor => "#AADC6E", :toolbar => "mini"} %br
请帮我提供带图像和内容的完美邮件,请尽快帮助我。 Thanz提前。