Home > Archive > FoxPro Help and Support > May 2005 > Outlook 2002, warnings









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Outlook 2002, warnings
Barley Man

2005-05-07, 9:24 am

This has only just started to occur since some updates to Outlook XP (2002).

While using an email 'mailshot' approach from within VFP7, I get the warning
from Outlook that:-

"A program is trying to automatically send email on your behalf... (blah
blah blah)"

Ignoring the split infinitive......... how does one prevent that warning as
it's seriously annoying?

Ian
Neil Waterworth

2005-05-07, 1:23 pm

Google search "Redemption" and "ClickYes".

Regards,
Neil

"Barley Man" < BarleyMan@discussion
s.microsoft.com> wrote in message
news:3CF3C6B2-A9AE-42BB-8B9B- E315D42A538A@microso
ft.com...
> This has only just started to occur since some updates to Outlook XP

(2002).
>
> While using an email 'mailshot' approach from within VFP7, I get the

warning
> from Outlook that:-
>
> "A program is trying to automatically send email on your behalf... (blah
> blah blah)"
>
> Ignoring the split infinitive......... how does one prevent that warning

as
> it's seriously annoying?
>
> Ian



BlackSabbath

2005-05-09, 3:24 am

with API ?

IF FindWindow(...) > 0
SendMessage(ok ou something like)
ENDIF
Mike Gagnon

2005-05-09, 7:24 am

Another option would be to use CDO 2.0 to send your e-mails which does not
use Outlook, thus bypassing the message.
http://support.microsoft.com/ph/6384/en-us/?aid=1

"Barley Man" < BarleyMan@discussion
s.microsoft.com> wrote in message
news:3CF3C6B2-A9AE-42BB-8B9B- E315D42A538A@microso
ft.com...
> This has only just started to occur since some updates to Outlook XP
> (2002).
>
> While using an email 'mailshot' approach from within VFP7, I get the
> warning
> from Outlook that:-
>
> "A program is trying to automatically send email on your behalf... (blah
> blah blah)"
>
> Ignoring the split infinitive......... how does one prevent that warning
> as
> it's seriously annoying?
>
> Ian



Barley Man

2005-05-10, 7:24 am

Mike, I've looked at the articles but I am wallowing in the dark here. All MS
articles assume that you know what they are discussing BEFORE you read them.
I am HOPELESS at reading their damned 'directives'.

Do you have a working example and a list of 'downlaods' (if needed) because
I can make something work if I can see HOW it works?

Ian

"Mike Gagnon" wrote:

> Another option would be to use CDO 2.0 to send your e-mails which does not
> use Outlook, thus bypassing the message.
> http://support.microsoft.com/ph/6384/en-us/?aid=1
>
> "Barley Man" < BarleyMan@discussion
s.microsoft.com> wrote in message
> news:3CF3C6B2-A9AE-42BB-8B9B- E315D42A538A@microso
ft.com...
>
>
>

Mike Gagnon

2005-05-10, 7:24 am

There examples I wrote (In French - but the code is in VFP) might help you
get started.
http://www.atoutfox.com/articles.as...R&ID=0000000040


"Barley Man" < BarleyMan@discussion
s.microsoft.com> wrote in message
news:1D68F21A-4C4C-4A7A-A37F- 10183BD40702@microso
ft.com...[color=darkred]
> Mike, I've looked at the articles but I am wallowing in the dark here. All
> MS
> articles assume that you know what they are discussing BEFORE you read
> them.
> I am HOPELESS at reading their damned 'directives'.
>
> Do you have a working example and a list of 'downlaods' (if needed)
> because
> I can make something work if I can see HOW it works?
>
> Ian
>
> "Mike Gagnon" wrote:
>


Barley Man

2005-05-10, 8:25 pm

Mike, I've tried them in one block and I've tried each separately, they all
trigger the same error message.

Taking the simplest one:-

&& Comment envoyer un simple courriel.
oMSG = CREATEOBJECT("cdo.message")
oMSG.To = "ian@it-consultants.co.uk"
oMSG.From = "me"
oMSG.Subject = "Hello Email"
oMSG.TextBody = "This is an easy way to create an email"
oMSG.Send()

I receive the 'Program Error' Window of:-

____________________
____________________
__________________
OLE IDispatch exception code 0 from CDO.Message.1: The "SendUsing"
configuration value is invalid.
' '
Cancel* Suspend*Ignore*Help
____________________
____________________
___________________

I have searched my PC (XP Pro, SP2) and can find at bleast 3 copies of
CDOSYS.dll.

What am I missing? Please?

Ian




"Mike Gagnon" wrote:

> There examples I wrote (In French - but the code is in VFP) might help you
> get started.
> http://www.atoutfox.com/articles.as...R&ID=0000000040
>
>
> "Barley Man" < BarleyMan@discussion
s.microsoft.com> wrote in message
> news:1D68F21A-4C4C-4A7A-A37F- 10183BD40702@microso
ft.com...
>
>
>

Mike Gagnon

2005-05-11, 7:24 am

> What am I missing? Please?

A running SMTP service on your computer?
You can add one through Add new software->Windows->Internet services.

"Barley Man" < BarleyMan@discussion
s.microsoft.com> wrote in message
news:AF0A1FDC-4F10-4AD8-A028- 26DA7A176B86@microso
ft.com...[color=darkred]
> Mike, I've tried them in one block and I've tried each separately, they
> all
> trigger the same error message.
>
> Taking the simplest one:-
>
> && Comment envoyer un simple courriel.
> oMSG = CREATEOBJECT("cdo.message")
> oMSG.To = "ian@it-consultants.co.uk"
> oMSG.From = "me"
> oMSG.Subject = "Hello Email"
> oMSG.TextBody = "This is an easy way to create an email"
> oMSG.Send()
>
> I receive the 'Program Error' Window of:-
>
> ____________________
____________________
__________________
> OLE IDispatch exception code 0 from CDO.Message.1: The "SendUsing"
> configuration value is invalid.
> ' '
> Cancel* Suspend*Ignore*Help
> ____________________
____________________
___________________
>
> I have searched my PC (XP Pro, SP2) and can find at bleast 3 copies of
> CDOSYS.dll.
>
> What am I missing? Please?
>
> Ian
>
>
>
>
> "Mike Gagnon" wrote:
>


Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com