A script to automate the collection of email with Microsoft

Example scripts and tips (replaces Old Scripts & Tips archive)

Moderators: Dorian (MJT support), JRL, Phil Pendlebury

Post Reply
User avatar
Marcus Tettmar
Site Admin
Posts: 7351
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

A script to automate the collection of email with Microsoft

Post by Marcus Tettmar » Wed Jun 11, 1997 11:00 pm

Contributed By: Marcus Tettmar [email protected]
Submitted On: 12/06/97

Run Program>C:\WINDOWS\EXPLORER.EXE
/root,C:\WINDOWS\Internet
Mail.{89292102-4755-11cf-9DC2-00AA006C2B84}
WaitWindowOpen>C:\WINDOWS\Internet Mail
Press ALT
Send Character/Text>M
Release ALT
Send Character/Text>s
Wait>2
Press Enter
WaitWindowOpen>Connected to Connection-Name
Label>TryToCloseDown
Wait>5
Press ALT
Send Character/Text>F
Release ALT
Send Character/Text>c
IfWindowOpen>C:\WINDOWS\Internet Mail,TryToCloseDown
Press Enter

Replace Connection-Name with the name of your DUN connection,
making sure the case matches perfectly. If you have to enter a password
to connect, just add a line to do this before the first Press Enter line. This
script starts Internet Mail, receives and sends mail and then exits Internet
Mail when it has finished.

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts