Releasing a connection

Top  Previous  Next

To disconnect from an SMTP server, invoke the Smtp#disconnect method.  You should always disconnect from the SMTP server when ending your session.

 

Example

 

// disconnect from SMTP server

smtp.disconnect();





Home | Company | Products | Solutions | Purchase | Support | Services | Blog

© 2021 JSCAPE LLC