473,396 Members | 1,814 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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

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

Nov 23 '05 #1
1 2050
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/micro...rch+this+group

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

I hope this helps,

Cor
Nov 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: tp | last post by:
HI... I have created simple .asp page and i would like to send my page as email using my outlook . is it possible to send form body as new email outlook body using mailto command or any other...
4
by: Devhead | last post by:
i need to present user with an Outlook mail item. the following code is a modication to the code found here(http://support.microsoft.com/?kbid=819398). However, when the line is question is...
0
by: VP | last post by:
g'day, i am posting a problem i have encountered with creating an email using outlook through some basic c# code. the problem arises when using different email editors in outlook. At the moment...
3
by: Christian Hamel | last post by:
As said in the topic? I understand that this security has been added following many viruses out there but we have an automated system that we need to put in place that send emails. Any idea?...
6
by: Barkster | last post by:
I'm trying to send using outlook but I get an error on the directcast line if I don't have outlook open. Works fine if it is open. What do I need to do to be able to send without having outlook...
2
by: Landley | last post by:
Hello, Is there a way of creating an email, attaching a file and sending using the client's default mail client? I am looking for a none email client specific solution that does not involve...
8
by: John Brock | last post by:
I am currently using a VB.NET program to send out e-mails with plain text bodies (plus one attachment). The emails are being received as Rich Text messages (probably just my personal Outlook...
5
by: =?Utf-8?B?VG9ueSBXaXNzbGVy?= | last post by:
Hello everyone- I am hoping a couple of you will have some ideas on this one... I have a webform created in visual basic 2005. Basically, the webform gather answers to the questions asked on...
2
by: perhapscwk | last post by:
I use below to send email, however, i have 2 mailbox in outllok..it always use the first one to send. How i can set it to set from the other email account? thanks. Sub SendDocumentInMail() ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.