CodeTwo Base.title

How to create a vCard as QR Code in signatures added by CodeTwo Exchange Rules

Problem:

How to create a vCard as QR Code in signatures added by CodeTwo Exchange Rules?

Solution:

The vCard standard is a very popular and easy way to share contact information. In PC systems, it usually only takes to double click the VCF (vCard) file to automatically add the new entry to the address book of the default email program (e.g. Outlook).

Since the VCF code is basically a plain text file with appropriate fields inside, it is quite easy to convert it into the QR code. Scanning such a code with a mobile device will automatically add the contact into the phone's address book.

In the latest version of the CodeTwo Exchange Rules program a new feature has been introduced - QR code inserted into the signature. Additionally the user can build this code out of the dynamic AD fields available in the Template Editor - now the code changes depending on who sends the message and contains different information.

It only takes to use the source VCF code and insert AD fields in proper places to create dynamically changing vCard coded as QR image.

The first step is to open the CodeTwo Exchange Rules' Template Editor and insert the QR code field - click the  Dynamic Field button, choose General and then QR Code Image. This will open a new dialog window. Next, copy the example code below into the Text: field.

BEGIN:VCARD
VERSION:2.1
FN:Simon Luck
ORG:CodeTwo
TITLE:Marketing Manager
TEL:+ 1 888 725 33 64
EMAIL:simon@codetwo.com
END:VCARD

If the Preview field displays Text value exceeded the maximum number of characters in red text, the Size of image value on top of the window must be greater. For the example code above the 150x150 px - 229 chars value should be sufficient - the QR pattern should be now visible in the Preview area.

The next step is to replace the text bolded in the example code with the appropriate AD fields. E.g., replace Simon with the First Name field from the Add dynamic fields menu, Luck with the Last Name field and so on. The result should look like the code below:

BEGIN:VCARD
VERSION:2.1
FN:{First name} {Last name}
ORG:{Company}
TITLE:{Title}
TEL:{Phone}
EMAIL:{E-mail}
END:VCARD

The last step is to save the signature template and then save the program's setting with the Save button in the top left corner of the main window.

That's all - now when the sent message meets defined rule's conditions in CodeTwo Exchange Rules, the signature with vCard encoded as a QR image is inserted into the email, dynamically changing its content depending on who is the sender.

The VCF code provides much more fields to be defined - full list is available here.

If it happens that the vCard is not displaying correctly (some fields are missing) on your mobile device, the possible reason for that is that the app you are using does not support vCards in version 2.1. To rectify this simply use vCard in version 3.0, here is a syntax with the same example mentioned above:

BEGIN:VCARD
VERSION:3.0
FN:{First name} {Last name}
ORG:{Company}
TITLE:{Title}
TEL;TYPE=WORK,VOICE:{Phone}
EMAIL;TYPE=PREF,INTERNET:{E-mail}
END:VCARD
Our Clients:
Unicef
Facebook
Shell
T-Systems
Loreal
Casio
UPS Israel
Oford University
Mitsubishi Motors
Toshiba TEC UK Imaging Systems Ltd
Illinois Institute of Technology
MAN Diesel
McDonalds India
Skoda Auto
Bank of Israel
Fujifilm
China Mobile
Santander
Samsung SDI
Skanska
Generali
Telmex
Toyota Tsusho
BECHTEL
Ricoh
BAE SYSTEMS
Federação Portuguesa de Futebol
Credit Agricole
HYUNDAI
Rothschild
Toyota Boshoku
Oriflame Romania
ING
Ikea
Nordea

Partners, certificates & awards