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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I need help about code to send email from vb6

Status
Not open for further replies.

jucarcrhf

Programmer
Feb 6, 2004
1
CR
I need to do an .exe to execute a piece of code that can send an email with attachment to someone or something but recibing parameters from the command line in MSDOS. I really aprechied any help, thanks...
 
Recent thread discussing sending e-mail... thread222-734914. There are quite a few threads in this forum if you just do a search for sending e-mail.

As far as command line arguments, take a look at the Command$ function. Here's a thread on it... thread222-684007.

--
Jonathan
 
What you use to send the e-mail depends on what e-mail client is on the end user's system. Possibilities are:

1. The VB MAPI controls. Simple MAPI library; will work with Outlook Express and others.

2. Outlook object model.

3. CDO 1.21. Extended MAPI library.

4. CDONTS/CDO for Windows 2000. SMTP library.

The VB Command function will return the command line parameters with which your application was launched.

Paul Bent
Northwind IT Systems
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top