Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

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

by plaid (Chaplain)
on Jul 31, 2000 at 23:26 UTC ( #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? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2022-01-27 20:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (71 votes). Check out past polls.

    Notices?