in reply to Mime::lite "no data" error again
Lets do some debugging: Throw out the first $msg->attach.... Do you see any error? Then throw out the second $msg->attach.... Do you see any error? If the error vanishes the thrown out statement is the problem
I looked at the source of MIME::Lite and the error message gets thrown when 'Data' is empty. So check either $text_mail or $pdf whether they really contain something exactly before attach is called. Use a print statement or the perl debugger
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Mime::lite "no data" error again
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 |