Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sending email

Status
Not open for further replies.

pyutian

IS-IT--Management
Dec 10, 2003
58
0
0
US
I am trying to send an email with an attached file via a script. The problem is that a outlook message comes up saying " A program is trying to send an email on your behalf. Do you want to allow this?"

How do I set the focus to the yes button and hit enter?

Thanks in advance
 
Thanks Knob.

As always...You get a star
 
Knob, thanks for the solution. However, there is one slight problem with this program. I work at a place where the security policy is to lock the comuper after 15 min of no activity, and I am trying to use this script to run my morning routines and email results before I get to work. Any ideas?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top