in reply to Re^2: Mime::lite "no data" error again
in thread Mime::lite "no data" error again
Do you use 'use strict;'? You might have misspelled the name of the variable and strict mode will detect this.
I don't think the text needs to be quoted, it is automatically quoted or translated to base64 by MIME::Lite.
You could put a line with $text_mail= 'Testing'; just before the attach to check that the problem really is the contents of $text_mail
If that works, change $text_mail to contain the first half of your message. If that works, the second half. If you find that one half doesn't work, half that again and see if you can pinpoint the problem.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Mime::lite "no data" error again
by Psychodead (Initiate) on Dec 09, 2009 at 12:50 UTC | |
by jethro (Monsignor) on Dec 09, 2009 at 17:13 UTC |