Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 16 DEC 2002 09:37:36AM Rudhy B wrote:

I tried to use the following:

Flags='

if MAPISendMail(0, 0, Flags, Message) then

Msg(@window, "Message sent successfully!")

end else

Get_Status(ErrMsg)
Msg(@window, ErrMsg)

end

But I got OIMAPI02:General Failure. What does it mean ?

I already set my OE6 not to warn me when other applications try to send mail as me.

Thanks,

Rudhy


At 16 DEC 2002 10:19AM Revelation Software Technical Support wrote:

Rudhy-

You have already done a MapiLogon?


At 17 DEC 2002 08:17AM Rudhy B wrote:

I put

status=MAPILogon(session)

and status returns 1. But i still got OIMAPI02 error.

Rudhy


At 19 DEC 2002 02:39PM Pascal Landry wrote:

You wrote: I already set my OE6 not to warn me when other applications try to send mail as me.

Is there a way of turning that message off, if so, how?

Pascal


At 19 DEC 2002 04:57PM Paul Simonsen wrote:

Rudhy,

I'm not sure about Outlook Express 6, but we are using Outlook 2002. In prior versions we were able to have Outlook automatically send the emails, but with the newer version we receive a popup messagebox stating "Another program is trying to send an email, do you want to allow it? Yes/No"

Initially we were able to find a work around to this. I believe Microsoft had to put this in place due to all the virus' running about auto sending emails. However, I did find a program at:

http://www.express-soft.com/mailmate/clickyes.html

that sits in your system tray and will simulate clicking the "Yes" button when the message popups. So now we can have a web server that OI can auto-send emails on.

I'm not sure about OE6, but you might also receive the message if you change the flags variable in your example to equal MAPI_DIALOG$ (from the MAPI_EQUATES). If this works, then the ClickYes program might help you too.

Hope this helps,

[email protected]

SRP Computer Solutions, Inc.


At 20 DEC 2002 12:20PM Rudhy B wrote:

Well to turn off the warning in OE6, go to Option -] Security. The option is under the Virus Protection.

But I still can't get the email send automatically. It gives me OIMAPI02 error.

Rudhy


At 20 DEC 2002 02:13PM Pascal Landry wrote:

Rudhy,

Try hardcoding a from address in your routine, ie

[email protected]

or your [email protected] might be blank.

I just got the OIMAPI02 error omiting the destination address.

It's worth a try.

Pascal

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/4a08c4b8fd31e26885256c91005058ec.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1