Function

Purpleemail_is_valid

since: 2.0

Declaration [src]

gboolean
purple_email_is_valid (
  const char* address
)

Description [src]

Checks if the given email address is syntactically valid.

Available since: 2.0

Parameters

address

Type: const char*

The email address to validate.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: gboolean

True if the email address is syntactically correct.