forward_to


Description:

[ Version ( since = "3.6" ) ]
public async bool forward_to (Folder folder, MimeMessage message, string address, int io_priority, Cancellable? cancellable = null) throws Error

Asynchronously forwards message in folder to the email address(s) given by address.

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

Parameters:

this

a Session

folder

the Folder where message is located

message

the MimeMessage to forward

address

the recipient's email address

io_priority

the I/O priority for 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