views:

81

answers:

3

I am needing to send an email using VB6 through SMTP that requires authentication (smtp.gmail.com). Any help would be much appreciated.

A: 

Try these settings:

smtp: smtp.gmail.com
port: 587
user: your gmail email addres
pass: your gmail password
Sarfraz
What code do I apply these settings to?
Tom Hall
+1  A: 

There is a popular free componant downloadable from

http://www.freevbcode.com/ShowCode.Asp?ID=109

Cidtek
I want to avoid using .DLL's.
Tom Hall
It comes with source and I made a class out it easily enough.
Cidtek
+1  A: 

Although the answer to the question is for VBA and not VB6, it has sample code that works with gmail using CDO.

Knox