Documentation: Retrieve Content
[ Home | Docs | FAQ | Download | CVS | Mailing Lists | Bug Tracker | USPS's MOL Site ]
mml retrieve content ?-flags? ?-switches? content_id
-inline(Optional)If present, the
-inlineflag causes the data to be returned.
-debug filename(Optional)If specified, the XML generated and sent to the MOL system, as well as the XML reply from the MOL system, will be appended to
filename.-filename filename(Optional)The retrieved contents will be written to the specified filename.
-channel channel(Optional)The retrieved contents will be written to the specified channel.
content_idThis is an opaque identifier that should have been previously obtained from the MOL processor, for example, via
mailing_list details.
If the
-inlineflag is not specified, nothing is returned. The-inlineflag may be combined with either the-filenameor-channelswitches (which are mutually exclusive with each other).An error will be returned if the request was not succesful. Possible causes under which an error could be raised include: transient network outages, MOL processor internal errors, specifying a
content_idvalue that does not exist, etc.