1. Home
  2. Knowledge Base
  3. GMS
  4. How do I stop my users including vCards with their Messages?

How do I stop my users including vCards with their Messages?

Question

By default all messages sent have a vCard attached from version 7 onwards. This option may be disabled on a per user basis but in certain situation system administrators may want to disable this option altogether.

A forthcoming Version will have an option in the Administration GUI to globally disable the sending of vCards.

Answer

To prevent users sending messages with vCards attached you will need to manually amend the profile applied to these users.

The following instructions should be followed:

Determine the name of the profile that needs to be amended.

Under the GordanoProfiles folder open the index.txt file with a text editor. This will show the folder name for the profile that needs to be amended and will be in the form of either a numeral (1, 2, etc) or a 7 letter string (caaaaaa, etc).

Under this folder open the variables.txt file.

Add the following line to the bottom of the file:
  webmailaddmyvcard=0

Save the file.

You will now need to update each users record with the updated profile. This can be achieved by running an MML script.

Copy the following script to a text editor and save as vCardupdatescript.mml in the gordanomml folder.

<#

if(!UpdateUserTemplateAccounts( "domain_name", "template_name" ))
{
print("Could not update");
}
else
{
print("template re-applied");
}
#>

You can now run this script by typing:
http://your_domain_name:8000/vCardupdatescript.mml in your browser address bar.

The script will then amend all user accounts with the updated profile variables.

Update: Since Release 7.02 of GMS this option is configurable directly from within profiles. To alter the handling of vCards select the Privileges branch within a users profile and on the right hand screen the Address Book tab. The ability for users to include vCards in outgoing mail is controlled by the option "Attach vCards to messages".

Keywords:vCards Attachments Profiles, Address Books

Was this article helpful?

Related Articles

Contents

Need Support?

Can't find the answer you're looking for?
Contact Support