in reply to More loop issues
you can try $my_job .= $data."\n"; the dot before the equal adds data at the end of the string. The ."\n" adds a new line for each new data string.
Update: Also add this before you use sendmail for security $ENV{PATH} = '';
|
|---|