package WebGUI::Mail::Send uses Net::SMTP or the sendmail command to actually send the mail (from 7.5.8 beta) see: /data/WebGUI/lib/WebGUI/Mail/Send.pm.
If you are using the sendmail command (or script), then obviously authentication is not needed.
In case you are using Net::SMTP then auth could be used:
[code]
Attempt SASL authentication.
[/code]
So the these things would have to be done to implement this:
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") );
}
Koen de Jonge - ProcoliXhttp://www.procolix.comHosting - WebGUI - Virtualization
Oh, and ofcourse you would need the perl Authen::SASL module.