SocksProxyUser Property

This property specifies the user for user authentication of proxy server.


Data Type: String

Remarks

If SocksProxyServer is not specified, the direct connection will be used; otherwise the proxy connection will be used. We don't suggest that you use the proxy server except it is your only choice.

Usage Example

[Visual Basic]
Dim oPop3 As Object
Set oPop3 = CreateObject("ANPOP.POPMAIN")

oPop3.SocksProxyServer = "192.168.0.1"
oPop3.SocksProxyPort = 1080
' if your proxy doesn't requires user authentication, please don't assign any value to 
' SocksProxyUser and SocksProxyPassword properties 
oPop3.SocksProxyUser = "tester"
oPop3.SocksProxyPassword = "pass"
oPop3.ProxyProtocol = 1 'socks5 proxy 


Call oPop3.Connect( "pop3.email.com", "John", "John123" )
Dim bOk As Boolean
bOk = oPop3.Connected  
 
If bOk Then 
  MsgBox "Connecting server succeeds."
Else
  MsgBox "Connecting server fails."
End If

See Also

Connect Method
ProxyProtocol Property
SocksProxyPort Property
SocksProxyServer Property
SocksProxyPassword Property

2001-2007 © Copyright AdminSystem Software Limited. All rights reserved.