|
-
Oct 8th, 2000, 08:11 AM
#1
Thread Starter
New Member
Hi gang!
I'm in desperate need to get a winsock control in VB6 to conversate with a UNIX SMTP server. If I go with TCP protocol VB keeps bugging me about, "wrong protocol..." errors, but then again, to access a SMTP-server you gotta use TCP and not UDP, right?
Code example:
winsock1.connect "<insert SMPT-server here>",25
winsock1.SendData "HELO <[email protected]>"
winsock1.SendData "MAIL FROM:<[email protected]>"
winsock1.SendData "RCPT TO:<[email protected]>"
winsock1.SendData "DATA"
winsock1.SendData "<any string you like>"
winsock1.SendData "."
winsock1.SendData "QUIT"
Anyone's got any bright ideas?
/G
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
|