## camel-movemail

camel-movemail

## Synopsis

    int                 camel_movemail                      (const char *source,
                                                             const char *dest,
                                                             CamelException *ex);

## Description

## Details

### camel_movemail ()

    int                 camel_movemail                      (const char *source,
                                                             const char *dest,
                                                             CamelException *ex);

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).

`source` : | source file
`dest` : | destination file
`ex` : | a CamelException
Returns : | Returns -1 on error.