Hallo, bisher habe ich Anhänge per MIME::Lite erstellt/versendet;
my $msg = build MIME::Lite
From => 'sender@email',
To => $mail_recipient,
Subject => $mail_subject,
Type => 'text/plain',
Data => $mail_text;
attach $msg
Type => "text/plain",
Path => $original_file,
Encoding => "base64",
MIME::Lite->send('smtp', $mail_server_ip, Timeout=>60);
$msg->send;
Jetzt würde ich gerne den Inhalt einer Variable als Text Attachment ranhängen ohne den Umweg über eine Datei. Ist das mit mime:lite möglich?
VG
Last edited: 2013-08-06 11:58:53 +0200 (CEST)