Sending E-mail From Other App

  • Thread starter Thread starter Neil Ginsberg
  • Start date Start date
N

Neil Ginsberg

A client of mine is using Outlook (2002, I believe), and is getting prompted
for confirmation that another program is sending e-mail in his name when I
send e-mail from MS Access. That confirmation has to go, as it's part of an
automated process.

I originally used SendObject. But, according to MS, that doesn't work with
Exchange. So, per their note, I changed it to MAPI code and provided the
Profile name. Everything works; but he's still getting the prompt.

Now, he works in a law firm, and they have a company that provides support.
So far, three people have worked on it, and no one seems to know how to set
the profile to not prompt for confirmation when an application sends mail
for a user. The latest I've heard is that the current guy is recommending
using direct SMTP as opposed to Outlook / MAPI! Surely there must be a way
to set the Exchange profile to not prompt for confirmation.

Anyone?

Thanks,

Neil
 
This behavior is caused by the security features built into Outlook. In
order to get around it, you'll need to use a third party dll called
Redemption or use a custom form deployed on the Exchange Server along with a
reg edit on the desktop.

Redemption is probably the easiest and is simple and safe. It can be found
at www.dimastr.com/Redemption

For more information see the following link:

http://www.outlookcode.com/d/sec.htm

--
Patricia Cardoza
Outlook MVP
Author - Special Edition Using Microsoft Office Outlook 2003
Lead Author - Access 2003 VBA Programmer's Reference
Author - Absolute Beginner's Guide to Microsoft OneNote 2003

http://blogs.officezealot.com/cardoza
 
Thanks!

Patricia Cardoza said:
This behavior is caused by the security features built into Outlook. In
order to get around it, you'll need to use a third party dll called
Redemption or use a custom form deployed on the Exchange Server along with
a reg edit on the desktop.

Redemption is probably the easiest and is simple and safe. It can be found
at www.dimastr.com/Redemption

For more information see the following link:

http://www.outlookcode.com/d/sec.htm

--
Patricia Cardoza
Outlook MVP
Author - Special Edition Using Microsoft Office Outlook 2003
Lead Author - Access 2003 VBA Programmer's Reference
Author - Absolute Beginner's Guide to Microsoft OneNote 2003

http://blogs.officezealot.com/cardoza
 
Do you have any thoughts on "Redemption" (recommended by Patricia in this
thread)?

Thanks,

Neil
 
I recommend Redemption highly. It adds a lot of programming functionality to
Outlook that you'd otherwise need Extended MAPI to achieve.
 
Sue, I just noticed your article "Finding Redemption" from a couple of years
ago. In it, you write:

"If you connect to Exchange Server, the administrator can implement central
security settings that allow programmatic access to certain features,
thereby preventing the prompts."

Is it possible for the administrator to turn off the prompts for a
particular profile in Exchange -- thus allowing the VBA code to just use
that profile, while the other users use the general profile?

Thanks,

Neil
 
Thanks. I have a few questions.

1) Does your product address the "an application is trying to send e-mail in
your name" message? You mention on the web site the restrictions on
accessing the address book, but not that message explicitly, so I wanted to
confirm.

2) Since the e-mail being sent would be part of a nightly automated process,
does your product allow you to simply set the permissions you want, or do
you have to wait to be prompted the first time for it to store the settings?

3) How can you afford to distribute it for free?

Thanks!

Neil


Alexander Gorlach said:
Hi,

As on option to Redemption, look to our freeware Advanced Security for
Outlook: http://www.mapilab.com/outlook/security/

Alexander Gorlach,
MAPILab Ltd. -- Must have Microsoft Outlook add-ons
http://www.mapilab.com/
-----Original Message-----
From: Neil Ginsberg [mailto:[email protected]]
Posted At: Friday, September 10, 2004 1:14 AM
Posted To: microsoft.public.outlook.general
Conversation: Sending E-mail From Other App
Subject: Sending E-mail From Other App

A client of mine is using Outlook (2002, I believe), and is getting
prompted
for confirmation that another program is sending e-mail in his name when I
send e-mail from MS Access. That confirmation has to go, as it's part of
an
automated process.

I originally used SendObject. But, according to MS, that doesn't work with
Exchange. So, per their note, I changed it to MAPI code and provided the
Profile name. Everything works; but he's still getting the prompt.

Now, he works in a law firm, and they have a company that provides
support.
So far, three people have worked on it, and no one seems to know how to
set
the profile to not prompt for confirmation when an application sends mail
for a user. The latest I've heard is that the current guy is recommending
using direct SMTP as opposed to Outlook / MAPI! Surely there must be a way
to set the Exchange profile to not prompt for confirmation.

Anyone?

Thanks,

Neil
 
Hi Neil,

1). Yes.

2). You'll asked, or you can pre-define an action at installation time,
by adding your DLL to "HKEY_CURRENT_USER\Software\MAPILab Ltd\Advanced
Security\Actions" section of the registry (you should specify full path
to DLL or application and version number.

3). We have a lot of commercial add-ins. So, we can distribute some
add-ins for free as advertisement (at freeware-only software archives,
etc).

Alexander Gorlach,
MAPILab Ltd. -- Must have Microsoft Outlook add-ons
http://www.mapilab.com/
-----Original Message-----
From: Neil Ginsberg [mailto:[email protected]]
Posted At: Saturday, September 11, 2004 2:17 PM
Posted To: microsoft.public.outlook.general
Conversation: Sending E-mail From Other App
Subject: Re: Sending E-mail From Other App

Thanks. I have a few questions.

1) Does your product address the "an application is trying to send e-mail
in
your name" message? You mention on the web site the restrictions on
accessing the address book, but not that message explicitly, so I wanted
to
confirm.

2) Since the e-mail being sent would be part of a nightly automated
process,
does your product allow you to simply set the permissions you want, or do
you have to wait to be prompted the first time for it to store the
settings?

3) How can you afford to distribute it for free?

Thanks!

Neil


Alexander Gorlach said:
Hi,

As on option to Redemption, look to our freeware Advanced Security for
Outlook: http://www.mapilab.com/outlook/security/

Alexander Gorlach,
MAPILab Ltd. -- Must have Microsoft Outlook add-ons
http://www.mapilab.com/
-----Original Message-----
From: Neil Ginsberg [mailto:[email protected]]
Posted At: Friday, September 10, 2004 1:14 AM
Posted To: microsoft.public.outlook.general
Conversation: Sending E-mail From Other App
Subject: Sending E-mail From Other App

A client of mine is using Outlook (2002, I believe), and is getting
prompted
for confirmation that another program is sending e-mail in his name when I
send e-mail from MS Access. That confirmation has to go, as it's
part
of
an
automated process.

I originally used SendObject. But, according to MS, that doesn't
work
with
Exchange. So, per their note, I changed it to MAPI code and
provided
the
Profile name. Everything works; but he's still getting the prompt.

Now, he works in a law firm, and they have a company that provides
support.
So far, three people have worked on it, and no one seems to know
how
to
set
the profile to not prompt for confirmation when an application
sends
mail
for a user. The latest I've heard is that the current guy is recommending
using direct SMTP as opposed to Outlook / MAPI! Surely there must
be a
way
to set the Exchange profile to not prompt for confirmation.

Anyone?

Thanks,

Neil
 
It's user-specific, not profile-specific.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Hello

I would like to send messages from my app using SMTP. Can anyone tel me how
to do this?

Marcel
 
See http://www.outlookcode.com/d/sec.htm for links to references on CDO for
Windows, which comes with Windows 2000 and later versions.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 

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