in reply to Problems sending an email attachment using Net::SMTP
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Problems sending an email attachment using Net::SMTP
by Argel (Prior) on Jun 27, 2009 at 06:24 UTC | |
by ig (Vicar) on Jun 27, 2009 at 07:45 UTC | |
by Argel (Prior) on Jun 30, 2009 at 20:20 UTC |