1

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/

Eric C
  • 63
  • 1
  • 8

1 Answers1

1

Figured it out. Needed to encode the attachment.

Eric C
  • 63
  • 1
  • 8