TLSSend is a email sending program designed to demonstrate multiple methods of sending an email via SMTP.
1. Standard SMTP using port 25.
2. Standard SMTP with PLAIN AUTHENTICATION using port 1025 (May vary with ISP).
3. TLS 1.0 encrypted SMTP through smtp.gmail.com using port 465.
4. TLS 1.0 encrypted SMTP through smtp.gmail.com using STARTTLS and port 587.
5. TLS 1.0 encrypted SMTP through smtp.live.com using STARTTLS and port 587.
6. Yahoo does not support external access to SMTP for freebie accounts.
Normally, email settings would be stored in the registry or an initialization file, but since this is a demonstration program, your specific account details will have to be incorporated into the code.
- Change the generic To: & From: addresses in frmTLS.
- Change the "yourISP" Combo Box items in the frmTLS.Form_Load sub to reflect your own ISP.
- Change the generic account settings in the cmdConnect_Click sub to reflect your own account settings.
This program does not contain any third party controls or libraries, and utilizes the RSA/Schannel library (schannel.dll) that is shipped with all modern Windows Operating Systems. Although the Cryptography routines will work on most Operating Systems, cSocket2 will only work on systems that support dual stack (IPv4/IPv6). This more or less restricts it to Windows Vista or better. For more information on the Cryptographic functions, see:
http://www.vbforums.com/showthread.p...-VB6-TLSCrypto
J.A. Coutts
1. Standard SMTP using port 25.
2. Standard SMTP with PLAIN AUTHENTICATION using port 1025 (May vary with ISP).
3. TLS 1.0 encrypted SMTP through smtp.gmail.com using port 465.
4. TLS 1.0 encrypted SMTP through smtp.gmail.com using STARTTLS and port 587.
5. TLS 1.0 encrypted SMTP through smtp.live.com using STARTTLS and port 587.
6. Yahoo does not support external access to SMTP for freebie accounts.
Normally, email settings would be stored in the registry or an initialization file, but since this is a demonstration program, your specific account details will have to be incorporated into the code.
- Change the generic To: & From: addresses in frmTLS.
- Change the "yourISP" Combo Box items in the frmTLS.Form_Load sub to reflect your own ISP.
- Change the generic account settings in the cmdConnect_Click sub to reflect your own account settings.
This program does not contain any third party controls or libraries, and utilizes the RSA/Schannel library (schannel.dll) that is shipped with all modern Windows Operating Systems. Although the Cryptography routines will work on most Operating Systems, cSocket2 will only work on systems that support dual stack (IPv4/IPv6). This more or less restricts it to Windows Vista or better. For more information on the Cryptographic functions, see:
http://www.vbforums.com/showthread.p...-VB6-TLSCrypto
J.A. Coutts