I am trying to explore the vpim gem..
Using that i am trying to generate Vcard..Now I am able to generate
vcard also i am able to send that vcard through mail.
If i try to open that vcard through thunderbird, all the fields
getting stored in address book except mobile number, Here ia m send the
code for adding mobile number into vcard..
if @bizcard_label.mobile_number!=""
flag=1
maker.add_tel(@bizcard_label.mobile_number.to_s) do |mob|
mob.location=''cell''
mob.preferred = true
end
end
Above code mobile number will come as 10 digit number.
Is my approach correct? or am i doing anything wrong?
regards
Selva
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---