09-16-2005 03:27 PM
09-19-2005 06:38 AM
09-21-2005 02:42 PM
Andre,
Thank you for your response. While your suggestion is the correct way to resolve this problem, unfortunately I am blocked out form changing the OutLook security settings on my PC. However, I did find a work around. There is a freeware application called "ClickYes" that when installed on your PC will automatically click the "Yes" button of the OutLook security message pop-up window. This application can be either run as a service on your PC (from the task bar), executed in a command line fashion, or has an API that allows access to the application from within your own application. The website for this application is: http://www.contextmagic.com/express-clickyes/.
Here's an example of how I implemented this application into my email application (using CVI). I've simplified the example by eliminating the error checking code:
// Enable ClickYes.exe. This exe will automatically click the YES
// button of the OutLook security window, which appears when an
// email is sent.
LaunchExecutable("ClickYes.exe");
//Send New Mail Item
Outlook__MailItemSend(messageHandle, NULL);
// Disable ClickYes.exe
system("ClickYes.exe -stop");
Regards,
Jim
09-14-2009 12:38 PM
I was afraid "clickyes" might not work on Outlook 2007 and I would have to give up the easy way out. I have been using "click yes" for over a year. It is very reliable.
09-18-2009 02:34 PM
Have you looked at using the POP3 or SMTP capability in the CVI Internet library?
There are two example programs that ship with CVI 9.0.1:
pop3clnt.cws and sendmail.cws.
I don't know if they shipped with older versions.
Your program will need the ability to log on directly to your email server. Since you are restricted from making security changes to Outlook, this might be a problem for you as well.