in reply to Re: Error at during DATA / Email::Sender::Transport::SMTP
in thread Error at during DATA / Email::Sender::Transport::SMTP

Sorry -- I'm using smtp.office365.com, port 587 as the SMTP server .. I think of that as Outlook.

I'm generating a report by sending a bunch of query results to Template::Toolkit process, then I'm sending the result. I just did a test run, and the output file (a web page) was 835K, so not huge. This is the code that sends the message, using ymd as the date and output as the output from the TT2 process:

The complete error listing is here:

Alex / talexb / Toronto

Thanks PJ. We owe you so much. Groklaw -- RIP -- 2003 to 2013.

Replies are listed 'Best First'.
Re^3: Error at during DATA / Email::Sender::Transport::SMTP
by parv (Parson) on Jun 14, 2024 at 19:21 UTC

    What does the SMTP server complain about that causes E'S'T'SMTP to croak? That is say log for the exchange between the client & server is missing.

        ... Net::SMTP::_SSL=GLOB(0x5606ff569450)>>> lass=3D'left'>1 </td> + <td class=3D'left'>Covermaster 8 Roll Trans Net::SMTP::_SSL: Net::Cmd::_syswrite_with_timeout(): unexpected EOF on + command channel: Connection reset by peer at /usr/local/share/perl/5 +.34.0/Email/Sender/Transport/SMTP.pm line 324. sending failed: error at during DATA: [Net::SMTP::_SSL] Connection clo +sed Trace begun at /usr/local/share/perl/5.34.0/Email/Sender/Transport/SMT +P.pm line 259 ...

      It looks like there's a timeout .. it took ~10 minutes to fail.

      Alex / talexb / Toronto

      Thanks PJ. We owe you so much. Groklaw -- RIP -- 2003 to 2013.

        I was thinking perhaps your access was de-prioritized or you might have a slow connection. Others also ha(d|ve) similar issue of long wait.

      Right .. the debug flag. I'll try that when I get back to my office. Thanks!

      Alex / talexb / Toronto

      Thanks PJ. We owe you so much. Groklaw -- RIP -- 2003 to 2013.