Re: Using MAPIControls with VB6



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)






.



Relevant Pages

  • Re: CONNECTION PROBLEM USING VB6 TO SQL SEVER 2000 PERSONAL EDITON
    ... ¤ I am having a problem in my vb6 application when I try to connect to sql ... server 2000 personal editon with the following connection string.(I am ... and VB6 and installed sql ... Is your SQL Server configured for both SQL Server and Windows ...
    (microsoft.public.vb.enterprise)
  • Re: CONNECTION PROBLEM USING VB6 TO SQL SEVER 2000 PERSONAL EDITON
    ... ¤ I am having a problem in my vb6 application when I try to connect to sql ... server 2000 personal editon with the following connection string.(I am ... table of the database NTL.using SQL server enterprise manager. ...
    (microsoft.public.vb.enterprise)
  • Re: run-time error 16391 on 2003 server with vb6 app
    ... ¤ a run-time error '16391' message on the form_load event. ... If I compile the app on a Windows 2K machine, ... NOT generate the runtime error on the Server 2003 machine. ...
    (microsoft.public.vb.general.discussion)
  • Re: Sharing a ADO connection between two processes - Can it be done ?
    ... ¤ We have a client and server application that run on the same machine. ... Your data access layer should be handling the transaction. ...
    (microsoft.public.vb.database.ado)
  • Re: connect remote Access database
    ... what is mean by "direct access to the resource through network"? ... > ¤ My server is a FTP server, ... > If you're accessing via FTP or HTTP that's a completely different issue. ...
    (microsoft.public.dotnet.framework.adonet)

Loading