compose_email


Description:

public async bool compose_email (Parent? parent, string[]? addresses, string[]? cc, string[]? bcc, string? subject, string? body, string[]? attachments, EmailFlags flags, Cancellable? cancellable) throws Error

Presents a window that lets the user compose an email, with some pre-filled information.

When the request is done, callback will be called. You can then call [method@Portal.compose_email_finish] to get the results.

Parameters:

this

a [class@Portal]

parent

parent window information

addresses

the email addresses to send to

cc

the email addresses to cc

bcc

the email addresses to bcc

subject

the subject for the email

body

the body for the email

attachments

an array of paths for files to attach

flags

options for this call

cancellable

optional [class@Gio.Cancellable]

callback

a callback to call when the request is done

data

data to pass to callback