Creates new mail type and inserts passed values. The function return
E_INVALID
if given arguments are invalid or incomplete.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(mail_type), | intent(out) | :: |
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. |