dentyne
asked on
Bypassing Outlook warnings
Hello,
I am coding an application that autosends an Outlook email to a user's supervisor that contains weblinks to forms that the supervisor needs to approve.
However, when the code tells the app to send the email, Outlook pops up a little box saying, "A program is automatically trying to send email on your behalf. Do you want to allow this? If this is unexpected, then click 'No'".
I would imagine this will cause many questions and problems for the client. If it is possible, I need to know how to bypass this.
Please don't tell me to use other mail options. I know about them, but would rather use Outlook. My question is how to bypass this message. Thanks.
I am coding an application that autosends an Outlook email to a user's supervisor that contains weblinks to forms that the supervisor needs to approve.
However, when the code tells the app to send the email, Outlook pops up a little box saying, "A program is automatically trying to send email on your behalf. Do you want to allow this? If this is unexpected, then click 'No'".
I would imagine this will cause many questions and problems for the client. If it is possible, I need to know how to bypass this.
Please don't tell me to use other mail options. I know about them, but would rather use Outlook. My question is how to bypass this message. Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I feel Chris is right and wrong.
Sometimes it is not obvious that a program is trying to access an address book. If you have set up a service or something which will run without user input then Chris is not right however, if your application has some sort of "send to supervisor through email" button on your VB Form then, I would keep the message due to the security risks involved.
Don't forget that users have an annoying habit of clicking yes when they don't understand something and not no!! If they can click there way through something they will. Eventually they'll get used to clicking yes to this message and then click yes to it no matter when it comes up. This, in itself renders the message useless in effect so bare that in mind. I guess the best way is to create a COM Add-In for Outlook which can be trusted by it's name rather than by what it does and run everything through the Add-In somehow.
Regards,
Andrew
Sometimes it is not obvious that a program is trying to access an address book. If you have set up a service or something which will run without user input then Chris is not right however, if your application has some sort of "send to supervisor through email" button on your VB Form then, I would keep the message due to the security risks involved.
Don't forget that users have an annoying habit of clicking yes when they don't understand something and not no!! If they can click there way through something they will. Eventually they'll get used to clicking yes to this message and then click yes to it no matter when it comes up. This, in itself renders the message useless in effect so bare that in mind. I guess the best way is to create a COM Add-In for Outlook which can be trusted by it's name rather than by what it does and run everything through the Add-In somehow.
Regards,
Andrew
ASKER
Thanks. Both of you had valuable input; however, I suppose andcu answered my question first by saying it was not possible on another's machine unless set up on the Exchange Server. I appreciate the help from both of you. Thanks
Here are the results of the search that returns "plenty" of stuff and none of it gives either solution you describe. Really you should post the solution.
-------------------------- ---------- ---------- --------
Search results: 2 articles
ACC97: "A Program Is Trying to Send..." Message with SendObject Macro or Method
When you run the SendObject macro action or the SendObject Visual Basic for Applications method with the EditMessage argument set to No, you may receive the following message: A program is trying to automatically send e-mail on your behalf. Do you...
ACC2000: "A Program Is Trying to Send..." Message with SendObject Macro or Method
When you run the SendObject macro action or the SendObject Visual Basic for Applications method with the EditMessage argument set to No, you may receive the following message: A program is trying to automatically send e-mail on your behalf. Do you...
--------------------------
Search results: 2 articles
ACC97: "A Program Is Trying to Send..." Message with SendObject Macro or Method
When you run the SendObject macro action or the SendObject Visual Basic for Applications method with the EditMessage argument set to No, you may receive the following message: A program is trying to automatically send e-mail on your behalf. Do you...
ACC2000: "A Program Is Trying to Send..." Message with SendObject Macro or Method
When you run the SendObject macro action or the SendObject Visual Basic for Applications method with the EditMessage argument set to No, you may receive the following message: A program is trying to automatically send e-mail on your behalf. Do you...
We've implemented this solution and it works nicely:
http://www.express-soft.com/mailmate/clickyes.html
http://www.express-soft.com/mailmate/clickyes.html
I advise you to keep this set-up removing it could cause a big security risk