Sympa::Message::Template(3Sympa) | sympa 6.2.70 | Sympa::Message::Template(3Sympa) |
Sympa::Message::Template - Mail message generated from template
use Sympa::Message::Template; my $message = Sympa::Message::Template->new( context => $list, template => "name", rcpt => [$email], data => {});
Parameters:
If it is a scalar, tries to retrieve information of the user (See also Sympa::User.
Note: This parameter was OBSOLETED. Currently, {envelope_sender} attribute of object is taken from the context.
Note: This parameter was OBSOLETED. The "From:" field will be filled in by "sympa" address if it is not found.
Note: This feature has been deprecated.
Below are optional parameters.
Returns:
New Sympa::Message instance, or "undef" if something went wrong.
Sympa::Message, Sympa::Template.
"new_from_template" in Sympa::Message appeared on Sympa 6.2.
It was renamed to "new" in Sympa::Message::Template on Sympa 6.2.13.
2023-01-26 | 6.2.70 |