Re: Using MAPIControls with VB6
- From: xytsrm <xytsrm@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 13 Nov 2008 08:50:16 -0800
Ron, Thanks for the reply,
I was aware of CDO, but I had never seen any consistant examples that worked
as advertised; I'll check out your link.
As I said my app that uses MAPI controls through Outlook Express works quite
well, with the one exception of being able to specify the account; maybe I'm
just being picky, but I'd like to pickup that last 5%.
Thanks again, 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)
- Follow-Ups:
- Re: Using MAPIControls with VB6
- From: RDub
- Re: Using MAPIControls with VB6
- 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
- Using MAPIControls with VB6
- Prev by Date: Re: Adding address bar links to listbox as per selection
- Next by Date: Re: Is it possible to raise a classe event from outside the class?
- Previous by thread: Re: Using MAPIControls with VB6
- Next by thread: Re: Using MAPIControls with VB6
- Index(es):
Relevant Pages
|
Loading