Email :: close - Close email handle
In order to release attached resources, the email handle should be closed or destructed. Especially, when running emails in OSI, closing the email handle becomes necessary in order to release resources.
After closing the email handle, all email functions called (except open) will throw an exception.
Notes:
The referenced Email object instance will be destroyed after closing the last referencing Email object handle.
Implementation details
Email  :: close (  )
The function removes the reference from the object reference handle and reduces the reference count for the referenced Email object instance.