mail_signature_load


Description:

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

Asynchronously loads a signature from the signature file for this, which is given by get_file.

If the signature file is executable, it will be executed and its output captured as the email signature content. If the signature file is not executable, the email signature content is read directly from the file.

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

Parameters:

this

an Source

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




2022 vala-language.org