外国人写的SMTP-VB例子
外国人写的VB例子 SMTP: Simple Mail Testing Program he code is actually pretty simple, it simply uses windows own Winsock to send e-mail via SMTP. It makes a connection via TCP on port 25 (If you don't understand what TCP and port 25 is, you may consider brushing up on TCP/IP before using this, but it is not a requirement) and sends basically text to the SMTP mail server. This is what SMTP stands for SIMPLE Mail Transport Protocol. I have tried as much as possible to self document the code, so I will not got into details here. Just look through it and see what you can do.