mail_signature_replace


Description:

public async bool mail_signature_replace (string contents, size_t length, int io_priority, Cancellable? cancellable) throws Error

Asynchrously replaces the signature file for this with the given contents of length bytes.

The signature file for this is given by get_file.

When the operation is finished, callback will be called. You can then call mail_signature_replace.end to get the result of the operation.

Parameters:

this

an Source

contents

the signature contents

length

the length of contents in bytes

io_priority

the I/O priority of the request

cancellable

optional Cancellable object, or null

callback

a TaskReadyCallback to call when the request is satisfied

user_data

data to pass to the callback function