in reply to Runs with perl -d, but ...
I use very similar code with MIME::Lite myself, and haven't seen similar misbehaviour.
The only difference I see between your code and mine is that I use "multipart/mixed" and then attach the text data using
before attaching the file.$msg->attach(Type=>"TEXT",Data=>"Here's your fax");
I can't see that making a difference, though. I don't see why MIME::Lite would care, or why -d would change anything.
Does the send under the debugger actually work? I mean, I see that your code things it worked, but does anthony@wherever actually get the file?
--
Mike
EDIT: Added note about multipart/mixed
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Runs with perl -d, but ...
by notsoevil (Pilgrim) on Apr 08, 2003 at 19:29 UTC | |
by RMGir (Prior) on Apr 08, 2003 at 20:06 UTC | |
by notsoevil (Pilgrim) on Apr 09, 2003 at 01:05 UTC | |
by RMGir (Prior) on Apr 09, 2003 at 11:25 UTC |