Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re^2: Help sending with MIME::Lite

by drock (Beadle)
on Sep 17, 2004 at 21:07 UTC ( #391895=note: print w/replies, xml ) Need Help??

in reply to Re: Help sending with MIME::Lite
in thread Help sending with MIME::Lite

sweetness, it is attaching the file but not the actual data with the file??? so I have an email with an attachment but when I open the attachment it contains my Data => "Here are you files today"

Replies are listed 'Best First'.
Re^3: Help sending with MIME::Lite
by waswas-fng (Curate) on Sep 17, 2004 at 21:40 UTC
    err remove Data    =>"Hey here is your file!\n" so it looks like:
    sub mailme { my $msg = MIME::Lite->new( From => 'EDM01 <root@edm01.ohnet>', To => 'Derek Smith <>', Subject => "EDM Return Tapes" ); $msg->attach(Type =>'image/gif', #whatever the MIME ty +pe is Path =>"$scratchps", Filename =>'scratchps', Disposition => 'attachment' ); $msg->send; } if ( -s $scratchtps ) { &mailme; }


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2023-06-01 12:36 GMT
Find Nodes?
    Voting Booth?

    No recent polls found