Leser: 1
|< 1 2 >| | 13 Einträge, 2 Seiten |
1
2
3
4
5
6
7
8
my $message = MIME::Lite->new(
From => 'skriptname',
To => "$mailliste",
Subject => "Der Text",
Type => 'TEXT'
);
$message->send();
exit;
1
2
3
4
5
6
my $message = MIME::Lite->new(
From => 'skript.pl',
To => "$emailliste",
Subject => "Meine Subject-Zeile",
Data => "$message_body"
);
1
2
3
4
5
6
7
8
9
10
for my $recipient($emailliste,$smsliste){
my $body = $recipient eq $smsliste ? "" : $message_body;
my $message = MIME::Lite->new(
From => 'skript.pl',
To => $recipient,
Subject => "Meine Subject-Zeile",
Data => $body,
);
# ...
}
QuoteData
Alternative to "Path" or "FH". The actual message data. This may be a scalar or a ref to an array of strings; if the latter, the message consists of a simple concatenation of all the strings in the array.
for my $recipient($emailliste,$smsliste){
|< 1 2 >| | 13 Einträge, 2 Seiten |