Thread Mehrere Bilder bei html mail: html mails mit mehreren Bildern (3 answers)
Opened by chrisidc at 2007-05-02 16:22

GwenDragon
 2007-05-02 16:57
#76374 #76374
User since
2005-01-17
14788 Artikel
Admin1
[Homepage]
user image
Könnte so gehen (ohne Gewähr):
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
my $attac = {};
for(my $i = 1; $i <= 10; $i++) {
$attac->{ $imgfiles[$i] } = {'_disptype'=>'GIF Image','_inline'=>$imgfiles[$i],'description'=>'ATM-Image','ctype'=>'image/gif','file'=>$imgdirfiles,},
} #for


email({
'from' => 'test@test.com',
'to' => 'test@test.com',
'subject' => $mail_subject,
'smtp' => $mailserver,
'_text' => 'Sorry, your e-mail client is not supporting html mails.',
'_html' => $mail_message,
'_attachments' => $attac,
}) or die "email() failed: $@";

View full thread Mehrere Bilder bei html mail: html mails mit mehreren Bildern