movemail


Description:


public int movemail (string source, string dest) throws Error

This copies an mbox file from a shared directory with multiple readers and writers into a private (presumably Camel-controlled) directory.

Dot locking is used on the source file (but not the destination).

Parameters:

source

source file

dest

destination file

Returns:

Returns -1 on error or 0 on success.


Namespace: Camel
Package: camel-1.2