$sender->MailFile( { to => @rd_list, subject => 'Test', msg => "All, Please ignore this email! This is a test. Thanks, cc\n", file => $complete_file_path, }); $sender->Close;