Date: 4/1/2008 4:54 pm · Subject: Re: SMTP authentication missing
If you are using the sendmail command (or script), then obviously authentication is not needed.
if ($self->session->setting->get("smtpAuthUser")) {
$smtp->auth( $self->session->setting->get("smtpAuthUser"), $self->session->setting->get("smtpAuthPassword") ) or $self->session->errorHandler->error("Couldn't authenticate user:$self->session->setting->get("smtpAuthUser") to mail server: ".$self->session->setting->get("smtpServer") );
}