Previous Topic: EML File ParametersNext Topic: File Import Parameters


Bloomberg Email Parameters

These parameters are specifically for importing attachments associated with Bloomberg emails (that is, emails sent using Bloomberg terminals). You use these parameters in conjunction with BBMAIL import operations; see Import.Type.

These parameters specify the folder containing any e‑mail attachments and also determine whether attachments are deleted after being successfully attached to their associated email. BBMAIL import operations can also use Email general parameters and file handling parameters.

Note: The location of the XML dump file containing the actual emails is specified by File.Pathspec.

Important! Bloomberg attachments are typically supplied as a compressed archive. Before starting the import operation, you must first decompress the attachment archive.

BBMail.DirAttachment

This parameter has no default value. It specifies a fully‑qualified path to the root folder on the source machine containing the attachments associated with the Bloomberg emails you are importing during a BBMAIL import operation. The syntax is:

BBMail.DirAttachment=<Directory>

Paths containing spaces

If you specify BBMail.DirAttachment directly in a command line and the name of a folder in the path contains spaces, you must enclose the entire parameter in "double quotes". For example:

wgnimp -f params.ini "BBMail.DirAttachment=C:\BBG\My Attachments"

Conversely, if you specify BBMail.DirAttachment in a configuration file, you must not enclose the path in double quotes, even if it contains spaces:

BBMail.DirAttachment=C:\BBG\My Attachments
BBMail.RecurseDirAttachment

Defaults to No. This parameter specifies whether to search for attachments in subfolders below the root folder specified by BBMail.DirAttachment. The syntax is:

BBMail.RecurseDirAttachment=Yes or No
BBMail.DeleteAttachments

Defaults to No. This parameter determines whether attachment files are deleted after they have been successfully attached to imported Bloomberg emails. The syntax is:

BBMail.DeleteAttachments=Yes or No
BBMail.RejectOnAttachmentFailure

Defaults to No. If an attachment is missing or cannot be found, this parameter determines whether the entire XML dump file is flagged as an import failure. The syntax is:

BBMail.RejectOnAttachmentFailure=Yes or No

If set to Yes, the BBMAIL import operation will stop importing from a ‘failed’ dump file and begin processing the next dump file.

More information:

Import Failures

Bloomberg Message Attachments