Re: Using MAPIControls with VB6
- From: "RDub" <rweinerattrcrentdotcom>
- Date: Thu, 13 Nov 2008 17:06:19 -0500
The refrence refers to a place in the cdosys.dll itself. The only site that
the app needs to connect with is the one hosting the SMTP server you point
it to. If your SMTP server happens to be on your inside network, then your
app will not have to go anywhere on the internet.
Rdub
"xytsrm" <xytsrm@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:01FC3E6C-C48E-4C51-8C65-2852C03CEDFA@xxxxxxxxxxxxxxxx
Hi Ron,
I was checking out the example you provided: What does this reference do
"http://schemas.microsoft.com/cdo/configuration/"?
I've seen it before in other CDO examples; does the app need to connect
with
some microsoft site to send email?
X.
"Ron Weiner" wrote:
If all you want to do is to send email and your user base is Win2000 or
newer have a look at CDO. There is some $0.00 cost code here to get you
started. http://www.worksrite.com/CDOMail.htm
Rdub
"xytsrm" <xytsrm@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:E303228A-49E4-44A5-81C1-F2F1EE0584C0@xxxxxxxxxxxxxxxx
Paul,
I just looked into the "Exchange Server"; WOW at $700 it would be an
under-statement to say that for my application it would be an overkill!
If there is no more cost effective way of specifing a given account in
the
Outlook Express client though the MAPI Contrls, ten I'll have to stick
with
what I'm doing now - simply making the target account the default.
It's
either that, or find a more cost effective third-party server app
that's
compatible with MAPI Controls.
X.
"Paul Clement" wrote:
On Wed, 12 Nov 2008 08:14:00 -0800, xytsrm
<xytsrm@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
¤ Hi,
¤
¤ I have a simple VB6 program utilizing the MAPI controls, to send
simple
¤ email messages through OUTLOOK Express. Everything works well,
with
one
¤ exception; setting the username and password to specify the
¤ originator-account is not recognized. Regardless of what I set the
username
¤ and password to, the emails are always sent through which ever
account
is the
¤ default. I have been using the "Account Name" for the the username
(and of
¤ course "Password" for the password).
¤
¤ I know that if I run OUTLOOK, I can setup a profile through the MAIL
¤ utility, and then set the username to the profile. This will work
as
long as
¤ I use OUTLOOK, but the target PC for which this program is intended
only has
¤ OUTLOOK Express.
¤
¤ Does anyone know how to use the MAPI Controls, via OUTLOOK Express,
and
¤ specify which email account to use as the originator (rather beiing
limited
¤ to the default account)?
Outlook Express is just an e-mail client. If you want to use the MAPI
controls then a MAPI compliant
sub-system (such as Exchange) must be installed.
Otherwise you're probably looking at an SMTP solution where you can
specify a host e-mail server to
which you can send your e-mails.
Paul
~~~~
Microsoft MVP (Visual Basic)
.
- References:
- Using MAPIControls with VB6
- From: xytsrm
- Re: Using MAPIControls with VB6
- From: Paul Clement
- Re: Using MAPIControls with VB6
- From: xytsrm
- Re: Using MAPIControls with VB6
- From: Ron Weiner
- Re: Using MAPIControls with VB6
- From: xytsrm
- Using MAPIControls with VB6
- Prev by Date: Re: code to change filename (powerpoint)
- Next by Date: Re: Using MAPIControls with VB6
- Previous by thread: Re: Using MAPIControls with VB6
- Next by thread: Re: Using MAPIControls with VB6
- Index(es):
Relevant Pages
|
Loading