> > From: "Dan Muey" <[EMAIL PROTECTED]> > > Shoot me if this is already in the docs but is it possible > to send a > > variable that contains html as an html attachement without > it being a > > file first using Mail::Sender? > > :-) > > Yes it it possible. > > $sender = new Mail::Sender {...}; > $sender->OpenMultipart({..}); > $sender->Body({ctype => 'text/plain', msg => $message_body}); > $sender->Part({ctype => 'text/html', disposition => > 'attachment', > msg => $html > }); > $sender->Close();
That is creamy! Thanks a million! Your module rocks! If your ever in St. Louis let me know and I'll buy you a beer! Dan > > Jenda > ===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz ===== > When it comes to wine, women and song, wizards are allowed > to get drunk and croon as much as they like. > -- Terry Pratchett in Sourcery > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]