dm_mail_create_mail Function

public function dm_mail_create_mail(mail, from, to, subject, message, cc, bcc) result(rc)

Creates new mail type and inserts passed values. The function return E_INVALID if given arguments are invalid or incomplete.

Arguments

Type IntentOptional Attributes Name
type(mail_type), intent(out) :: mail

Mail type.

type(person_type), intent(in) :: from

Mail sender.

type(person_type), intent(in) :: to(:)

Mail recipients.

character(len=*), intent(in) :: subject

Mail subject.

character(len=*), intent(in) :: message

Mail message.

type(person_type), intent(in), optional :: cc(:)

Mail CC recipients.

type(person_type), intent(in), optional :: bcc(:)

Mail BCC recipients.

Return Value integer


Calls

proc~~dm_mail_create_mail~~CallsGraph proc~dm_mail_create_mail dm_mail_create_mail proc~dm_person_has_mail dm_person_has_mail proc~dm_mail_create_mail->proc~dm_person_has_mail

Called by

proc~~dm_mail_create_mail~~CalledByGraph proc~dm_mail_create_mail dm_mail_create_mail interface~dm_mail_create dm_mail_create interface~dm_mail_create->proc~dm_mail_create_mail