char * valvula_get_local_part ( const char *  address)

Allows to get local part from the provided domain [local-part]@domain.

addressThe address that is being queried to report its local part.
A reference to the domain or NULL if it fails. If the function receives a domain, the function reports NULL. Please note this function is different from valvula_get_domain in the sense it returns a pointer that should be released with axl_free

Referenced by valvula_address_rule_match(), valvula_get_recipient_local_part(), and valvula_get_sender_local_part().