I wonder what the value of $subj is and whether that is causing problems. You could check the return values of your calls to datasend to ensure they are succeeding.
I tried on a default compile of perl 5.10.0 on CentOS 5, with $subj set to a simple string (as I didn't have your get_datetime()) and both the empty line after the Subject: header and the Content-type records were delivered.
In reply to Re: Problems sending an email attachment using Net::SMTP
by ig
in thread Problems sending an email attachment using Net::SMTP
by Argel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |