Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I send email in VB? 1

Status
Not open for further replies.

Chemakill

Programmer
Aug 17, 2000
37
CA
I got VB6.0 and I need to know how to write a program that can send email. I know how to take the data from a text box, etc. put it into a string, but how do I actually send it as email? I have no clue here, so I need to know how to address, deal with an SMTP server, etc.
 
VB has no built-in feature for sending mail. But Microsoft has implemented COM for these situations. You can use any third-part ActiveX Code Component or Control for sending and receiving mail using any available protocol (POP3/SMTP/IMAP)

If you have Microsoft OutLook installed on your machine, you can use Automation to send and reveive mail. If not, there are a lot of availbale components you can use.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top