<- Back to SMTPit Pro function list
SMTPit_Disconnect
- Description
If you use SMTPit_Connect to connect to your mail server manually (instead of letting SMTPit_Send do it), then you must call SMTPit_Disconnect to disconnect from your mail server. Otherwise, SMTPit will never disconnect you from the mail server.
- Return Type
- Text
- Format
- SMTPit_Disconnect ( GetTranscript )
- Optional Parameters
- GetTranscript
Set to True if you want a Transcript of the interaction between SMTPit and your Mail Server.
- GetTranscript
- Related Items
- SMTPit_Connect, SMTPit_Send
- Examples
Example 1
Code:
SMTPit_DisconnectResult:
Disconnects from your mail serverExample 2
Code:
SMTPit_Disconnect( GetTranscript )Result:
Disconnects from your mail server and returns a transcript.