Problem in Vcard generation

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

Friends Any Idea?

Selvaraj wrote:

I am trying to explore the vpim gem…
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.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs