How to send email with Visual Basic .Net, MS Word and MS Outlook?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I have a question to ask in how to send e-mail through a program written
by VB.Net with the help of MS Word and Outlook?

The platform will be like this:
OS - Win 2K Pro
Office 2000 with MS Word and Outlook
DB - SQL Server

In the application, user will select the customer from a list using
checkbox. User will also type in the full path of a file which is the
template of the e-mail. There will be another textbox that act as the
attachment. For each selected record, the program will get the email
address, the gender and the customer's name. Then the program will merge the
info to the template and generate the mail to be sent. Then the program will
get the attachment and send it out.

I have seen that there is a sample talking about similar things.
However, we do not want a normal user running SMTP server on their machine.
We hope that we can make use of the Outlook, automate it to perform the send
email part. How to do that ? Moreover, I want to ask how to automate the
merge function in MS Word 2000 ?

Thanks for your help

John
 
John,

The question has been a while not in this newsgroup and certainly not for
the newer Outlook versions.

Although it has been for a while a hot item.

I don't know yet how the development part for office now in Net will handle
this.

If you search this newsgroup starting with CDO than you will find a lot of
answers. Know that in the past the version that where used of Exchange where
very much influencing this problem.

http://groups.google.com/group/micr...cdo+harlow&qt_g=1&searchnow=Search+this+group

Here I have brought them down in the selection to CDO and Harlow,

I hope this helps,

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top