PDA

Click to See Complete Forum and Search --> : help me winsock users


saju nair
Aug 28th, 2000, 11:41 PM
i had developed a utility to send and receive mails using winsock control.iam able to use my utility to send mail in the pc where it is dialing the ISP account.but
my problem is i am not able to send mail from remote pc which is on LAN and we are using analog X proxy for accessing the internet throught LAN.how should i
use the winsock control to connect to any SMTP server in the LAN.pls help me .

msdnexpert
Aug 29th, 2000, 04:42 AM
Hi saju,
Please note the settings for the following properties of the Winsock control
Winsock.Protocol = sckTCPProtocol ' Set protocol for sending
Winsock.RemoteHost = MailServerName ' IP address of SMTP server on your LAN
Winsock.RemotePort = 25 ' Set the SMTP Port

Hope this solves your problem.

xstopx81
Sep 13th, 2000, 04:33 PM
hey.. I tried the method but doesn't seem to work... I don't have a clue on what to do next.. help