标签: ruby-on-rails-3 actionmailer vpim
当前未运行的代码 附件[“contact.vcf”] = {:content => card.to_s} mail(:to => card.email,:subject =>“Test”)
示例代码我一直在使用: http://firstruby.wordpress.com/2007/12/10/vcard-exporting-through-rubyonrails/
答案 0 :(得分:1)
想出来。需要对附件进行编码。