|
-
Sep 16th, 2009, 04:05 PM
#11
Re: Can you close an SMTPClient session?
I haven't had to deal with this, but you could try looking at the servicepoint object itself, which has a few methods and properties that may be able to control this.
Like
.ServicePoint.ConnectionLeaseTimeout = 1000
.ServicePoint.CloseConnectionGroup("GroupName")
.ServicePoint.SetTcpKeepAlive()
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|