EDataServer.SourceRegistry.set_default_mail_identity

### Method

# EDataServer SourceRegistryset_default_mail_identity

since: 3.6

#### Declaration [src]

    void
    e_source_registry_set_default_mail_identity (
      ESourceRegistry* registry,
      ESource* default_source
    )

#### Description [src]

Sets `default_source` as the default mail identity. If `default_source` is `NULL`, the next request for the default mail identity will use the fallbacks described in e_source_registry_ref_default_mail_identity().

Available since: 3.6

Sets property | `EDataServer.SourceRegistry:default-mail-identity`

#### Parameters

`default_source`

  Type: `ESource`

  A mail identity `ESource`, or `NULL`.

  The argument can be `NULL`.
  The data is owned by the caller of the method.