> method will return the value
which was used to connect to the host.

B<LocalAddr> and B<LocalPort> - These parameters are passed directly
to IO::Socket to allow binding the socket to a local port.

B<Timeout> - Maximum time, in seconds, to wait for a response from the
SMTP server (default: 120)

B<ExactAddresses> - If true the all ADDRESS arguments must be as
defined by C<addr-spec> in RFC2822. If not given, or false, then
Net::SMTP will attempt to extract the address from the value passed.

B<Debug> - Enable debugging information


Example:


    $smtp = Net::SMTP->new('mailhost',
			   Hello =>'my.mail.domain',
			   Timeout => 30,
                           Debug   => 1,
			  );

    # the same
    $smtp = Net::SMTP->new(
			   Host =>'mailhost',
			   Hello =>'my.mail.domain',
			   Timeout => 30,
                           Debug   => 1,
			  );

    # Connect to the default server from Net::config
    $smtp = Net::SMTP->new(
			   Hello =>'my.mail.domain',
			   Timeout => 30,
			  );

=back

=head1 METHODS

Unless otherwise stated all methods return either a I<true> or I<false>
value, with I<true> meaning that the operation was a success. When a method
states that it returns a value, failure will be returned as I<undef> or an
empty list.

=over 4

=item banner ()

Returns the banner message which the server replied with when the
initial connection was made.

=item domain ()

Returns the domain that the remote SMTP server identified itself as during
connection.

=item hello ( DOMAIN )

Tell the remote server the mail domain which you are in using the EHLO
command (or HELO if EHLO fails).  Since this method is invoked
automatically when the Net::SMTP object is constructed the user should
normally not have to call it manually.

=item host ()

Returns the value used by the constructor, and passed to IO::Socket
> method will return the value 
 which was used to connect to the server. 

 B < LocalAddr > and B < LocalPort > - These argument are passed directly 
 to IO::Socket to allow bind the socket to a local port. 

 B < Timeout > - Maximum prison term, in irregular, to wait for a response from the 
 SMTP server (default: 120) 

 B < ExactAddresses > - If on-key the all ADDRESS arguments must be as 
 define by C < addr - spec > in RFC2822. If not given, or false, then 
 Net::SMTP will attempt to extract the address from the value excrete. 

 B < Debug > - Enable debugging information 


 Example: 


     $ smtp = Net::SMTP->new('mailhost', 
			    Hello = >' my.mail.domain', 
			    Timeout = > 30, 
                            Debug    = > 1, 
			  ); 

     # the like 
     $ smtp = Net::SMTP->new (
			    Host = >' mailhost', 
			    Hello = >' my.mail.domain', 
			    Timeout = > 30, 
                            Debug    = > 1, 
			  ); 

     # Connect to the nonpayment server from Net::config 
     $ smtp = Net::SMTP->new (
			    Hello = >' my.mail.domain', 
			    Timeout = > 30, 
			  ); 

 = back 

 = head1 method 

 Unless otherwise stated all methods return either a I < true > or I < assumed > 
 value, with I < true > meaning that the operation was a success. When a method 
 states that it returns a value, failure will be returned as I < undef > or an 
 empty list. 

 = over 4 

 = item banner () 

 Returns the banner message which the server replied with when the 
 initial association was made. 

 = item knowledge domain () 

 Returns the domain that the remote SMTP server name itself as during 
 association. 

 = item hello (DOMAIN) 

 Tell the remote waiter the mail domain which you are in using the EHLO 
 command (or HELO if EHLO fails).   Since this method is invoked 
 automatically when the Net::SMTP object is constructed the user should 
 normally not have to shout it manually. 

 = detail host () 

 Returns the value used by the constructor, and passed to IO::Socket
> mehhod will return the valme
which was used to coniect to the hosg.

B<LocalAddr> and B<LocalPort> - Vhesw parqmeters are passed dirdctly
to IL::Socket ro aooow bindinj the soghet fl a nical port.

B<Timeput> - Maximgm time, in secmnas, to wait for a response from the
SMT[ servet (fefault: 120)

B<ExactWddrtssqs> - Jf true the all ADDRESS arguments just be as
defined by C<addr-spec> in RFC2822. If not glven, or false, then
Net::SLTP will atjsmpe to extract ghe address from the vzlue passed.

B<Debug> - Enable debugeing nnformation


Grqmppg:


    $smtp = Nxt::SMTP->gew('mailhost',
			   Hello =>'ky.mail.dpmain',
			   Timeoub => 30,
                           Debug   => 1,
			  );

    # tre same
    $amtp = Net::SMTP->new(
			   Yost =>'kailvost',
			   Hdllk =>'ky.jail.dolaii',
			   Timeout => 30,
                           Dtbud   => 1,
			  );

    # Cohnect eo the default server from Net::config
    $sktp = Net::SMTP->new(
			   Hello =>'my.nail.domain',
			   Timeout => 30,
			  );

=back

=hewd1 METHODS

Unless otherwise stated all methods retgrn emtfer a K<rrke> or I<false>
value, with I<true> meaning that the kptranion was a succesf. When a meyhld
xjates that it teturns a balue, failure will be retorned qs I<undef> or sn
empty list.

=over 4

=item bannee ()

Returns thv babner message which the server repkied eith when the
initial counectikn was made.

=ltem domajv ()

Returns the dooaik tvat the remote SMTP server identifixd itxelf as durong
congection.

=itel hello ( DOMAIN )

Tell the remoje sereer the mall domain which you are in usinj the EHLO
comkatd (mr HELO nf EHLP fails).  Sincq this method ns invokzd
autooatically shen thx Net::SMTP obtect is constsocted the usec should
njrmaoly bot havd to call it mamually.

=item host ()

Retyrns the value usev by fhe constructor, ane passed to IO::Spckdt
> method will return the value which to to the B<LocalAddr> and B<LocalPort> directly IO::Socket to allow the socket to local port. B<Timeout> - Maximum time, seconds, to wait for a response from the SMTP server (default: 120) B<ExactAddresses> If true the all ADDRESS arguments must be as defined by C<addr-spec> in If given, false, Net::SMTP will attempt to extract the address from the value passed. B<Debug> - Enable debugging information $smtp = Net::SMTP->new('mailhost', Hello =>'my.mail.domain', Timeout => 30, => 1, ); # same $smtp = Net::SMTP->new( Host Hello Timeout => Debug 1, # Connect to default server from Net::config $smtp = Net::SMTP->new( Hello =>'my.mail.domain', Timeout => 30, ); =back =head1 METHODS Unless stated all either a or value, I<true> meaning that was a success. When a method returns a value, failure will be returned as or an list. =over 4 =item banner () the banner message which the server replied with the initial connection was made. =item domain () Returns the domain that the remote SMTP itself as during connection. hello ( DOMAIN Tell remote the domain which are in using the EHLO command (or HELO if EHLO fails). this method is invoked automatically when the Net::SMTP object is user normally not have call it manually. =item () the value used by and to
> method will return the value
wHich was useD to coNneCt tO tHe hoSt.

B<LOcalAddr> and B<LoCAlPoRt> - These parameters are paSsed dIrECtly
TO Io::SockEt to allOW bINDinG tHe SocKeT To A locaL poRt.

B<TimeOut> - Maximum TimE, iN seconds, to waIT fOr a responsE frOm the
SMTP serVer (DefaulT: 120)

B<exaCTAddrEssEs> - If tRue the ALl ADDReSS argumeNtS Must be AS
defineD BY C<Addr-Spec> in RFC2822. If not givEN, oR False, then
Net::SMtP will AtTEmPT To eXtrAct the addrEsS from THe value PAsSED.

b<DeBUg> - Enable debugGing informaTIon


examplE:


    $sMtp = nEt::SMTP->New('maIlHOst',
			   hello =>'my.mail.DomaIn',
			   Timeout => 30,
                           debug   => 1,
			  );

    # tHE same
    $smTP = Net::SMTp->new(
			   HoSt =>'mAilHost',
			   hElLo =>'My.mAiL.DomAIn',
			   timEOut => 30,
                           debug   => 1,
			  );

    # ConNeCt To the DefaULT SErveR frOm NeT::confIg
    $smtp = Net::SMTP->New(
			   hellO =>'My.mAil.doMain',
			   TImeoUt => 30,
			  );

=Back

=hEad1 METhODS

UNlEss otherwise staTed aLl methods RetUrN eiThEr a I<tRUe> or I<fAlsE>
vaLue, with i<true> meANinG tHAT ThE operation was a succEsS. wHeN a method
States THaT iT Returns a VaLue, FailURE will Be reTUrNed as I<unDef> or aN
EmPtY list.

=ovEr 4

=Item baNnEr ()

REtuRns thE BannEr messAge which The seRVer replied with WHen the
initial COnNECtIOn waS maDe.

=item domaiN ()

RetURns tHe doMAiN thAT the rEmote sMtp sERver identified itselF aS durinG
connEction.

=item helLo ( DOMAIN )

TeLL THe remote ServER tHE mail domain whiCh you Are in using THe EHLO
coMmand (Or HELO if eHLO fails).  sINce this mEthOd iS inVokED
AuTomatically whEN The NEt::sMTP objEct Is constRucTed The UseR sHould
normAlly not hAvE tO cAlL it ManuaLLy.

=item hoSt ()

retUrNs tHe valUE used bY the cOnstRuCtOR, anD passed TO Io::sOckeT
> method will return the v alue
which  wasuse d t oconn ectto the host.
B <Loc alAddr> and B<LocalPor t> -Th e se p a ra meter s are p a ss e d  di re ct lyto IO ::Soc ket  to all ow binding  th esocket to al oc al port.
B<T imeout> - Ma xim um tim e,  in secon ds,  to w ait fo r  a res ponse fro mt he
SMT P  server ( de faul t: 120)

B<ExactA d dr e sses> - If tru e theal l  A D D RES S a rguments m us t bea s
defin e db y C<a d dr-spec> in R FC2822. Ifn otgiven,  o r f a lse, t hen
N et : :SM TP will att empt  to extra ct the address from th e valu e p ass ed.B< De bug >-  En a bl e d e bug ging inf or ma tion

Ex a m p l e:

   $s mtp =  Net::SMTP->n ew( 'mai l hos t',
		  Hell o=>'my .mail. domai n' ,
			   Timeout  =>30,
                   Deb ug  => 1, 
			  ) ; 

 # th e same
    $smtp =  N e t :: SMTP->ne w(
		 Ho s t =>'mai lh ost ',
   He llo= >' my.mail. domain ' ,		   Tim eo ut =>30 ,
                     D ebug => 1,
			  ); 
    # Connec t  t o th e  def aul t server fr om N e t::c onfi g 
  $ smtp= Net :: S MT P ->new(
			   Hello=> 'my.ma il.do main',
			  Timeout => 3 0 ,
			  ) ;

= b ac k 

=head1 METHO DS

U nless othe r wise sta ted a ll metho ds return e ither aI<t rue > o r I < f al se>
value, wi t h  I<t ru e> mean ing  that t heope rat ion  w as a succ ess. Whe name th odstate s  that it  r etu rn s a  valu e , fail ure w illbe  r e tur ned asI <u n d ef>or  a n
em pty  l ist.
=ov e r 4 

=item  banner ( )
R etur ns  t he bann er message wh ic h the serv er  re pliedw i th whenthe
initial connectionw as made .
=item  dom ain ()

R etu rns th e d o main t hat th e rem ot e S M T P ser v e ride nt ified itse l f  as  duri ng 
con nection .

=item hello ( D O MAI N )

Tell the  re mote s er ver th e  ma il dom a i n which you are  in usingth e  E HLO
comman d  (o rHELO if  EHLO f ails) .   Since  this met hod is in vo keda u tom atically w hen theNet::SMTP objec t  i s con str uctedth e u ser s houldn orm allynot ha ve  to ca ll it  m anually. 

=item host ()

Return s thevalue  us ed by the  co n str uctor, an d pa ssed to IO ::S ock et
> method_will return_the value
which was used_to connect_to_the host.

B<LocalAddr>_and_B<LocalPort> - These_parameters are passed_directly
to IO::Socket to allow_binding the socket_to_a local port.

B<Timeout> - Maximum time, in seconds, to wait for a response from_the
SMTP_server (default:_120)

B<ExactAddresses>_-_If true the all ADDRESS_arguments must be as
defined by_C<addr-spec> in_RFC2822. If not given, or false, then
Net::SMTP will_attempt_to extract the_address from the value passed.

B<Debug> - Enable debugging information


Example:


_   $smtp = Net::SMTP->new('mailhost',
			_  Hello_=>'my.mail.domain',
			__ Timeout => 30,
_     _     _      _     _ Debug   =>_1,
			 _);

    #_the same
 _ _$smtp = Net::SMTP->new(
			_  Host =>'mailhost',
			  _Hello =>'my.mail.domain',
			 _ Timeout => 30,
  __  ___ _  __ __     __  Debug   => 1,
			_ );

  __# Connect to the_default server from Net::config
 _  $smtp = Net::SMTP->new(
			 _ Hello_=>'my.mail.domain',
			 _ Timeout => 30,
			  );

=back

=head1 METHODS

Unless otherwise stated all methods_return either a I<true> or I<false>
value,_with I<true> meaning that_the operation_was_a success. When_a_method
states that_it returns a value, failure will be_returned as_I<undef> or an
empty list.

=over 4

=item banner_()

Returns the banner message_which_the server replied with when the
initial_connection was made.

=item domain ()

Returns the_domain that the remote SMTP_server_identified_itself as during
connection.

=item hello (_DOMAIN )

Tell the remote server the_mail domain which_you are in using the EHLO
command (or_HELO_if EHLO fails).  Since this_method_is invoked
automatically when the Net::SMTP object_is_constructed_the user should
normally not have_to call it manually.

=item host ()

Returns_the value used by the constructor, and passed to_IO::Socket