|
Posted by Matt Pounsett on January 10, 2005, 9:17 pm
Please log in for more thread options
It seems to me that calling $smtp->code after $smtp->dataend should return the
status of the last sent message, but this is not the case...
The output from this series of commands:
$smtp->data;
$smtp->datasend( "Foon" );
$smtp->dataend;
print $smtp->code;
is:
250 Enter mail, end with "." on a line by itself
Which is the result of the data() call, not the dataend() call.
Is there a way to retrieve the result code and result message from a call to
dataend that I'm just missing?
Thanks
|