Is it possible for VFP 8 to access the Inbox and get details of the emails
recieved without activating the Outlook 2003's security feature i.e. " A
program is trying to access the email addresses ....etc etc". The objective
is that in case email(s) are a specific user, the email body is to be
exported to a file. This should be done without user intervention.

If so, how does one do it. Otherwise, from within Outlook, can a macro or
script do this ? here too some code (VBA?) examples would be great.

Mahmud Abdulla

Re: VFP 8 - Outlook 2003 Automation by Eric

Eric
Tue Dec 23 09:27:04 CST 2003

Hello, Mahmud!

There is a tool available on the web called ClickYes and Redemption.
ClickYes sits in the taskbar and waits for the Yes button to become active
before automatically pressing this for you, but you still have to wait. For
Redemption, go here:
http://www.dimastr.com/redemption/
Redemption allows you to send email and access all the other things you
could before all the security patches where applied to Outlook 2000 SP2 and
XP. Here's some VFP sample code:
<vfp_code>
*-- Example VFP Code using Redemption DLL
LOCAL oRedem, oOutlook, oMail

oRedem = CREATEOBJECT("Redemption.SafeMailItem")
oOutlook = CREATEOBJECT("Outlook.Application")
oMail = oOutlook.CreateItem(0)

*-- This needs to be done before trying to access the Redempion methods
*-- and Properties.
WITH oRedem
.Item = oMail
.Receipients.Add("user@domain.com")
.Subject = "Test Email"
.Body = "This email goes past the Security in Outlook XP"
.Send
ENDWITH

oMail = .NULL.
oOutlook = .NULL.
oRedem = .NULL.
</vfp_code>

If your Outlook is an Exchange Server client, then I believe you can disable
the security on the Exchange server.
--
Eric den Doop
www.foxite.com - The Home Of The Visual FoxPro Experts - Powered By VFP8



Re: VFP 8 - Outlook 2003 Automation by Mahmud

Mahmud
Thu Dec 25 10:04:29 CST 2003

Thanks Eric,

ClickYes is exactly what I need!

Regards
Mahmud

"Eric den Doop" <ericdendoop@xspamblockxfoxite.com> wrote in message
news:eJGS6kWyDHA.1908@TK2MSFTNGP10.phx.gbl...
> Hello, Mahmud!
>
> There is a tool available on the web called ClickYes and Redemption.
> ClickYes sits in the taskbar and waits for the Yes button to become active
> before automatically pressing this for you, but you still have to wait.
For
> Redemption, go here:
> http://www.dimastr.com/redemption/
> Redemption allows you to send email and access all the other things you
> could before all the security patches where applied to Outlook 2000 SP2
and
> XP. Here's some VFP sample code:
> <vfp_code>
> *-- Example VFP Code using Redemption DLL
> LOCAL oRedem, oOutlook, oMail
>
> oRedem = CREATEOBJECT("Redemption.SafeMailItem")
> oOutlook = CREATEOBJECT("Outlook.Application")
> oMail = oOutlook.CreateItem(0)
>
> *-- This needs to be done before trying to access the Redempion methods
> *-- and Properties.
> WITH oRedem
> .Item = oMail
> .Receipients.Add("user@domain.com")
> .Subject = "Test Email"
> .Body = "This email goes past the Security in Outlook XP"
> .Send
> ENDWITH
>
> oMail = .NULL.
> oOutlook = .NULL.
> oRedem = .NULL.
> </vfp_code>
>
> If your Outlook is an Exchange Server client, then I believe you can
disable
> the security on the Exchange server.
> --
> Eric den Doop
> www.foxite.com - The Home Of The Visual FoxPro Experts - Powered By VFP8
>
>