Current code that isn't working
attachments["contact.vcf"] = {:content=> card.to_s}
mail(:to =>card.email, :subject =>"Test")
Example Code I've been using:
http://firstruby.wordpress.com/2007/12/10/vcard-exporting-through-rubyonrails/
Current code that isn't working
attachments["contact.vcf"] = {:content=> card.to_s}
mail(:to =>card.email, :subject =>"Test")
Example Code I've been using:
http://firstruby.wordpress.com/2007/12/10/vcard-exporting-through-rubyonrails/