dm_mail_address Interface

public interface dm_mail_address

Generic function that returns formatted addresses.

Called by

interface~~dm_mail_address~~CalledByGraph interface~dm_mail_address dm_mail_address proc~dm_mail_send dm_mail_send proc~dm_mail_send->interface~dm_mail_address proc~dm_mail_write dm_mail_write proc~dm_mail_send->proc~dm_mail_write proc~dm_mail_write->interface~dm_mail_address

Module Procedures

private pure function mail_address_person(person) result(str)

Returns e-mail address as allocatable string in the form <address> or "name" <address>, depending on whether the person has a name.

Arguments

Type IntentOptional Attributes Name
type(person_type), intent(in) :: person

Person type.

Return Value character(len=:), allocatable

Address string.

private pure function mail_address_persons(persons) result(str)

Returns list of e-mail addresses in allocatable string.

Arguments

Type IntentOptional Attributes Name
type(person_type), intent(in) :: persons(:)

Array of person types.

Return Value character(len=:), allocatable

List of addresses.