From: Jade Tucker Date: 2008-08-19T07:26:38+09:00 Subject: Outlook, MAPI, Sending Mail Hi All, I am trying to write a program to test that our email servers are working properly. I have a ruby program to send an email from a MS Outlook inbox connected to an exchange mail server. The program using WIN32OLE to connect to Outlook. The program sends an email to another email account (out of our network) that is setup to automatically send back the email. My program then waits for the email to return for a max of 5 minutes before it will fail. The first issue I encountered was Outlook poping up a dialog box warning me that a program was trying to send an email on my behalf. With Outlook 2007 I was able to disable this security restriction. This program needs to run on a server without anyone logged in. For some reason this is not working as a scheduled task set to run under the user the email account is setup for. I am looking for any help or advice on how to get this working. I am getting frustrated with developing applications that run fine normaly, but as soon as I try to run them on a schedule or invoked remotely they start breaking. Does anyone know of a better way to do this or can help me with my problem? Thanks, JT -- Posted via http://www.ruby-forum.com/.