Psychodead has asked for the wisdom of the Perl Monks concerning the following question:
The variables all contain data which is sent correctly. Please make the nasty error msg dissappear ! :-) Thnx!use MIME::Lite; my $msg = MIME::Lite->new( From => $p->{from}, Subject => $p->{subject}, To => $p->{to}, CC => $p->{cc}, BCC => $p->{bcc}, Type => 'multipart/mixed' ); $msg->attach( Type => 'text/plain', Data => $text_mail, Encoding => 'quoted-printable' ); $msg->attach( Type => 'application/pdf', Data => $pdf, Filename => q(buchung_).$token.q(.pdf), Disposition => 'attachment' ); $msg->send || print "you DON'T have mail!";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Mime::lite "no data" error again
by jethro (Monsignor) on Dec 09, 2009 at 11:02 UTC | |
by Psychodead (Initiate) on Dec 09, 2009 at 11:26 UTC | |
by jethro (Monsignor) on Dec 09, 2009 at 12:08 UTC | |
by Psychodead (Initiate) on Dec 09, 2009 at 12:50 UTC | |
by jethro (Monsignor) on Dec 09, 2009 at 17:13 UTC | |
|
Re: Mime::lite "no data" error again
by roboticus (Chancellor) on Dec 09, 2009 at 13:00 UTC | |
by Psychodead (Initiate) on Dec 09, 2009 at 17:06 UTC |