Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Another MIME::Lite/Net::SMTP Question

by plaid (Chaplain)
on Jul 31, 2000 at 23:26 UTC ( [id://25320]=note: print w/replies, xml ) Need Help??


in reply to Another MIME::Lite/Net::SMTP Question

First of all: what's the question? I don't see what the problem is.

One thing that sticks out as being incorrect is the line

Filename =>'$rptname'
In the $msg->attach function. The single quotes around $rptname will cause it to be interpreted literally, looking for an attachment called $rptname, instead of whatever the value of the variable is. You probably just want
Filename => $rptname

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://25320]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2024-04-26 00:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found