Function

Purpleemail_is_valid

Declaration [src]

gboolean
purple_email_is_valid (
  const char* address
)

Description [src]

Checks if the given email address is syntactically valid.

Parameters

address 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

Returns: gboolean
 

True if the email address is syntactically correct.