Thread Datei generieren und an Mail anhängen
(4 answers)
Opened by kailyy at 2013-06-04 13:59
also laut der dokumentation in MIME::Lite zu attachments sollte das so gehen:
Code (perl): (dl
)
1 2 3 4 5 6 $msg->attach( Type => 'TEXT', Data => "dein text", Filename => 'file,txt', Disposition => 'attachment', ); also statt Path einfach Data angeben Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Damian Conway in "Perl Best Practices"
lesen: Wie frage ich & perlintro brian's Leitfaden für jedes Perl-Problem |