### Interface

# Goa Mail

#### Description [src]

    interface Goa.Mail : GObject.Object

Abstract interface type for the D-Bus interface org.gnome.OnlineAccounts.Mail.

#### Prerequisite

In order to implement Mail, your type must inherit from`GObject`.

#### Implementations

- GoaMailProxy
- GoaMailSkeleton

#### Functions

###### goa_mail_interface_info

Gets a machine-readable description of the org.gnome.OnlineAccounts.Mail D-Bus interface.

###### goa_mail_override_properties

Overrides all `GObject` properties in the `GoaMail` interface for a concrete class. The properties are overridden in the order they are defined.

#### Instance methods

###### goa_mail_dup_email_address

Gets a copy of the “EmailAddress” D-Bus property.

###### goa_mail_dup_imap_host

Gets a copy of the “ImapHost” D-Bus property.

###### goa_mail_dup_imap_user_name

Gets a copy of the “ImapUserName” D-Bus property.

###### goa_mail_dup_name

Gets a copy of the “Name” D-Bus property.

###### goa_mail_dup_smtp_host

Gets a copy of the “SmtpHost” D-Bus property.

###### goa_mail_dup_smtp_user_name

Gets a copy of the “SmtpUserName” D-Bus property.

###### goa_mail_get_email_address

Gets the value of the “EmailAddress” D-Bus property.

###### goa_mail_get_imap_accept_ssl_errors

Gets the value of the “ImapAcceptSslErrors” D-Bus property.

###### goa_mail_get_imap_host

Gets the value of the “ImapHost” D-Bus property.

###### goa_mail_get_imap_supported

Gets the value of the “ImapSupported” D-Bus property.

###### goa_mail_get_imap_use_ssl

Gets the value of the “ImapUseSsl” D-Bus property.

###### goa_mail_get_imap_use_tls

Gets the value of the “ImapUseTls” D-Bus property.

###### goa_mail_get_imap_user_name

Gets the value of the “ImapUserName” D-Bus property.

###### goa_mail_get_name

Gets the value of the “Name” D-Bus property.

###### goa_mail_get_smtp_accept_ssl_errors

Gets the value of the “SmtpAcceptSslErrors” D-Bus property.

###### goa_mail_get_smtp_auth_login

Gets the value of the “SmtpAuthLogin” D-Bus property.

###### goa_mail_get_smtp_auth_plain

Gets the value of the “SmtpAuthPlain” D-Bus property.

###### goa_mail_get_smtp_auth_xoauth2

Gets the value of the “SmtpAuthXoauth2” D-Bus property.

###### goa_mail_get_smtp_host

Gets the value of the “SmtpHost” D-Bus property.

###### goa_mail_get_smtp_supported

Gets the value of the “SmtpSupported” D-Bus property.

###### goa_mail_get_smtp_use_auth

Gets the value of the “SmtpUseAuth” D-Bus property.

###### goa_mail_get_smtp_use_ssl

Gets the value of the “SmtpUseSsl” D-Bus property.

###### goa_mail_get_smtp_use_tls

Gets the value of the “SmtpUseTls” D-Bus property.

###### goa_mail_get_smtp_user_name

Gets the value of the “SmtpUserName” D-Bus property.

###### goa_mail_set_email_address

Sets the “EmailAddress” D-Bus property to `value`.

###### goa_mail_set_imap_accept_ssl_errors

Sets the “ImapAcceptSslErrors” D-Bus property to `value`.

###### goa_mail_set_imap_host

Sets the “ImapHost” D-Bus property to `value`.

###### goa_mail_set_imap_supported

Sets the “ImapSupported” D-Bus property to `value`.

###### goa_mail_set_imap_use_ssl

Sets the “ImapUseSsl” D-Bus property to `value`.

###### goa_mail_set_imap_use_tls

Sets the “ImapUseTls” D-Bus property to `value`.

###### goa_mail_set_imap_user_name

Sets the “ImapUserName” D-Bus property to `value`.

###### goa_mail_set_name

Sets the “Name” D-Bus property to `value`.

###### goa_mail_set_smtp_accept_ssl_errors

Sets the “SmtpAcceptSslErrors” D-Bus property to `value`.

###### goa_mail_set_smtp_auth_login

Sets the “SmtpAuthLogin” D-Bus property to `value`.

###### goa_mail_set_smtp_auth_plain

Sets the “SmtpAuthPlain” D-Bus property to `value`.

###### goa_mail_set_smtp_auth_xoauth2

Sets the “SmtpAuthXoauth2” D-Bus property to `value`.

###### goa_mail_set_smtp_host

Sets the “SmtpHost” D-Bus property to `value`.

###### goa_mail_set_smtp_supported

Sets the “SmtpSupported” D-Bus property to `value`.

###### goa_mail_set_smtp_use_auth

Sets the “SmtpUseAuth” D-Bus property to `value`.

###### goa_mail_set_smtp_use_ssl

Sets the “SmtpUseSsl” D-Bus property to `value`.

###### goa_mail_set_smtp_use_tls

Sets the “SmtpUseTls” D-Bus property to `value`.

###### goa_mail_set_smtp_user_name

Sets the “SmtpUserName” D-Bus property to `value`.

#### Properties

###### Goa.Mail:email-address

Represents the D-Bus property “EmailAddress”.

###### Goa.Mail:imap-accept-ssl-errors

Represents the D-Bus property “ImapAcceptSslErrors”.

###### Goa.Mail:imap-host

Represents the D-Bus property “ImapHost”.

###### Goa.Mail:imap-supported

Represents the D-Bus property “ImapSupported”.

###### Goa.Mail:imap-use-ssl

Represents the D-Bus property “ImapUseSsl”.

###### Goa.Mail:imap-use-tls

Represents the D-Bus property “ImapUseTls”.

###### Goa.Mail:imap-user-name

Represents the D-Bus property “ImapUserName”.

###### Goa.Mail:name

Represents the D-Bus property “Name”.

###### Goa.Mail:smtp-accept-ssl-errors

Represents the D-Bus property “SmtpAcceptSslErrors”.

###### Goa.Mail:smtp-auth-login

Represents the D-Bus property “SmtpAuthLogin”.

###### Goa.Mail:smtp-auth-plain

Represents the D-Bus property “SmtpAuthPlain”.

###### Goa.Mail:smtp-auth-xoauth2

Represents the D-Bus property “SmtpAuthXoauth2”.

###### Goa.Mail:smtp-host

Represents the D-Bus property “SmtpHost”.

###### Goa.Mail:smtp-supported

Represents the D-Bus property “SmtpSupported”.

###### Goa.Mail:smtp-use-auth

Represents the D-Bus property “SmtpUseAuth”.

###### Goa.Mail:smtp-use-ssl

Represents the D-Bus property “SmtpUseSsl”.

###### Goa.Mail:smtp-use-tls

Represents the D-Bus property “SmtpUseTls”.

###### Goa.Mail:smtp-user-name

Represents the D-Bus property “SmtpUserName”.

#### Interface structure

    struct GoaMailIface {
      GTypeInterface parent_iface;
      const gchar* (* get_email_address) (
        GoaMail* object
      );
      gboolean (* get_imap_accept_ssl_errors) (
        GoaMail* object
      );
      const gchar* (* get_imap_host) (
        GoaMail* object
      );
      gboolean (* get_imap_supported) (
        GoaMail* object
      );
      gboolean (* get_imap_use_ssl) (
        GoaMail* object
      );
      gboolean (* get_imap_use_tls) (
        GoaMail* object
      );
      const gchar* (* get_imap_user_name) (
        GoaMail* object
      );
      const gchar* (* get_name) (
        GoaMail* object
      );
      gboolean (* get_smtp_accept_ssl_errors) (
        GoaMail* object
      );
      gboolean (* get_smtp_auth_login) (
        GoaMail* object
      );
      gboolean (* get_smtp_auth_plain) (
        GoaMail* object
      );
      gboolean (* get_smtp_auth_xoauth2) (
        GoaMail* object
      );
      const gchar* (* get_smtp_host) (
        GoaMail* object
      );
      gboolean (* get_smtp_supported) (
        GoaMail* object
      );
      gboolean (* get_smtp_use_auth) (
        GoaMail* object
      );
      gboolean (* get_smtp_use_ssl) (
        GoaMail* object
      );
      gboolean (* get_smtp_use_tls) (
        GoaMail* object
      );
      const gchar* (* get_smtp_user_name) (
        GoaMail* object
      );

    }

Virtual table for the D-Bus interface org.gnome.OnlineAccounts.Mail.

###### Interface members

`parent_iface`

    GTypeInterface

| The parent interface.

`get_email_address`

    const gchar* (* get_email_address) (
        GoaMail* object
      )

| Getter for the `GoaMail:email-address` property.

`get_imap_accept_ssl_errors`

    gboolean (* get_imap_accept_ssl_errors) (
        GoaMail* object
      )

| Getter for the `GoaMail:imap-accept-ssl-errors` property.

`get_imap_host`

    const gchar* (* get_imap_host) (
        GoaMail* object
      )

| Getter for the `GoaMail:imap-host` property.

`get_imap_supported`

    gboolean (* get_imap_supported) (
        GoaMail* object
      )

| Getter for the `GoaMail:imap-supported` property.

`get_imap_use_ssl`

    gboolean (* get_imap_use_ssl) (
        GoaMail* object
      )

| Getter for the `GoaMail:imap-use-ssl` property.

`get_imap_use_tls`

    gboolean (* get_imap_use_tls) (
        GoaMail* object
      )

| Getter for the `GoaMail:imap-use-tls` property.

`get_imap_user_name`

    const gchar* (* get_imap_user_name) (
        GoaMail* object
      )

| Getter for the `GoaMail:imap-user-name` property.

`get_name`

    const gchar* (* get_name) (
        GoaMail* object
      )

| Getter for the `GoaMail:name` property.

`get_smtp_accept_ssl_errors`

    gboolean (* get_smtp_accept_ssl_errors) (
        GoaMail* object
      )

| Getter for the `GoaMail:smtp-accept-ssl-errors` property.

`get_smtp_auth_login`

    gboolean (* get_smtp_auth_login) (
        GoaMail* object
      )

| Getter for the `GoaMail:smtp-auth-login` property.

`get_smtp_auth_plain`

    gboolean (* get_smtp_auth_plain) (
        GoaMail* object
      )

| Getter for the `GoaMail:smtp-auth-plain` property.

`get_smtp_auth_xoauth2`

    gboolean (* get_smtp_auth_xoauth2) (
        GoaMail* object
      )

| Getter for the `GoaMail:smtp-auth-xoauth2` property.

`get_smtp_host`

    const gchar* (* get_smtp_host) (
        GoaMail* object
      )

| Getter for the `GoaMail:smtp-host` property.

`get_smtp_supported`

    gboolean (* get_smtp_supported) (
        GoaMail* object
      )

| Getter for the `GoaMail:smtp-supported` property.

`get_smtp_use_auth`

    gboolean (* get_smtp_use_auth) (
        GoaMail* object
      )

| Getter for the `GoaMail:smtp-use-auth` property.

`get_smtp_use_ssl`

    gboolean (* get_smtp_use_ssl) (
        GoaMail* object
      )

| Getter for the `GoaMail:smtp-use-ssl` property.

`get_smtp_use_tls`

    gboolean (* get_smtp_use_tls) (
        GoaMail* object
      )

| Getter for the `GoaMail:smtp-use-tls` property.

`get_smtp_user_name`

    const gchar* (* get_smtp_user_name) (
        GoaMail* object
      )

| Getter for the `GoaMail:smtp-user-name` property.

#### Virtual methods

###### Goa.Mail.get_email_address

Gets the value of the “EmailAddress” D-Bus property.

###### Goa.Mail.get_imap_accept_ssl_errors

Gets the value of the “ImapAcceptSslErrors” D-Bus property.

###### Goa.Mail.get_imap_host

Gets the value of the “ImapHost” D-Bus property.

###### Goa.Mail.get_imap_supported

Gets the value of the “ImapSupported” D-Bus property.

###### Goa.Mail.get_imap_use_ssl

Gets the value of the “ImapUseSsl” D-Bus property.

###### Goa.Mail.get_imap_use_tls

Gets the value of the “ImapUseTls” D-Bus property.

###### Goa.Mail.get_imap_user_name

Gets the value of the “ImapUserName” D-Bus property.

###### Goa.Mail.get_name

Gets the value of the “Name” D-Bus property.

###### Goa.Mail.get_smtp_accept_ssl_errors

Gets the value of the “SmtpAcceptSslErrors” D-Bus property.

###### Goa.Mail.get_smtp_auth_login

Gets the value of the “SmtpAuthLogin” D-Bus property.

###### Goa.Mail.get_smtp_auth_plain

Gets the value of the “SmtpAuthPlain” D-Bus property.

###### Goa.Mail.get_smtp_auth_xoauth2

Gets the value of the “SmtpAuthXoauth2” D-Bus property.

###### Goa.Mail.get_smtp_host

Gets the value of the “SmtpHost” D-Bus property.

###### Goa.Mail.get_smtp_supported

Gets the value of the “SmtpSupported” D-Bus property.

###### Goa.Mail.get_smtp_use_auth

Gets the value of the “SmtpUseAuth” D-Bus property.

###### Goa.Mail.get_smtp_use_ssl

Gets the value of the “SmtpUseSsl” D-Bus property.

###### Goa.Mail.get_smtp_use_tls

Gets the value of the “SmtpUseTls” D-Bus property.

###### Goa.Mail.get_smtp_user_name

Gets the value of the “SmtpUserName” D-Bus property.