@LogFile is the array I'm using Thanks for the help!$smtp = Net::SMTP->new('Mail.Server'); $smtp->mail( 'user.com' ); $smtp->to($emailid); $smtp->data(); # Start the mail $smtp->datasend("To: Mickey Mouse\n"); $smtp->datasend("From: John Doe\n"); $smtp->datasend("\n"); $smtp->datasend(@LogFile); $smtp->dataend(); # Finish sending the mail $smtp->quit; # Close the SMTP connection
In reply to Net::SMTP and arrays by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |