chickadee » email-address » addr-spec->string

addr-spec->string email-addressprocedure

Returns the local@domain part of the email-address, suitable for use in an SMTP dialogue. The case of the local part will be the same in the original address. The domain part will be lower case.

> (use email-address)
> (addr-spec->string (email-address "Andy Bennett <ANDYJPB@EXAMPLE.NET>"))
"ANDYJPB@example.net"