4.46. mail

Mail contained text to recipient specified by 'to' using the program specified with the SendMailProgram catalog directive.

4.46.1. Summary

    [mail to other_named_attributes]
Parameters Description Default
extra Additional headers (these will also be added to 'raw' messages) DEFAULT_VALUE
hide Suppress tag return value. This would otherwise be the 'success' attribute setting. DEFAULT_VALUE
raw Send it raw without creating headers and checking content, recipient, subject, etc. DEFAULT_VALUE
show The tag will return the final message with headers in the page DEFAULT_VALUE
success Tag return value if successful (default is 1). DEFAULT_VALUE
to   DEFAULT_VALUE
Attributes Default
interpolate No
reparse Yes
Other_Characteristics  
Invalidates cache YES
Container tag Yes
Has Subtags No
Nests No

ASP-like Perl call:

   $Tag->mail(  { to => VALUE_to
}, $body  );

or similarly with positional parameters,

    $Tag->mail(to, $attribute_hash_reference, $body);

4.46.2. Description

Mail contained text to recipient specified by 'to' using the program specified with the SendMailProgram catalog directive.

4.46.2.1. extra

Additional headers (these will also be added to 'raw' messages)

4.46.2.2. hide

Suppress tag return value. This would otherwise be the 'success' attribute setting.

4.46.2.3. raw

Send it raw without creating headers and checking content, recipient, subject, etc.

4.46.2.4. show

The tag will return the final message with headers in the page

4.46.2.5. success

Tag return value if successful (default is 1).

4.46.2.6. to