in reply to Re: Re: Extending MIME::Lite
in thread Extending MIME::Lite
inside of the Net::SMTP new? Then when we create a new Net::SMTP call we do it as:if (defined $arg{User}) { $obj->auth($arg{User},$arg{Password}); }
My simple test indicates that it works, but I need to carefully review the side effects of performing the auth in the object creation.MIME::Lite->send('smtp', $out_smtp , Port =>$smtp_port , Timeout=>60 , Debug => $debug , Hello => 'domain.com', User => 'trs80', Password => 'blah' );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Extending MIME::Lite
by demerphq (Chancellor) on Sep 28, 2003 at 01:04 UTC |