Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Problems using Mail::Sendmail to include an attachment

by desertrat (Sexton)
on Aug 04, 2020 at 17:58 UTC ( [id://11120287]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
    
    exit;
    
  2. or download this
    
    MIME-Version: 1.0
    ...
    --==========1596563290==========--
    
  3. or download this
    #sending a plain text message, maybe sendmail is messed up??
    my %msg2 =(from => 'avalidemailaddress',to=>'avalidemailaddress',subje
    +ct =>'plain email', body=>"just a quick note!");
    sendmail(%msg2) or die "Sending failed Error: $Mail::Sendmail::error";
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (8)
As of 2024-04-19 12:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found