[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference iosg::all-in-1_v30

Title:*OLD* ALL-IN-1 (tm) Support Conference
Notice:Closed - See Note 4331.l to move to IOSG::ALL-IN-1
Moderator:IOSG::PYE
Created:Thu Jan 30 1992
Last Modified:Tue Jan 23 1996
Last Successful Update:Fri Jun 06 1997
Number of topics:4343
Total number of notes:18308

1975.0. "Execute script from a mail" by EVOAI2::DUFAUD () Wed Dec 16 1992 12:52

Hy everybody,

	Is it possible to execute a script file when a user read a mail, 
	with an attribute in a document.

Thanks for your help.

Thierry

T.RTitleUserPersonal
Name
DateLines
1975.1Well, yes....IOSG::PYEGraham - ALL-IN-1 Sorcerer's ApprenticeWed Dec 16 1992 13:3418
    You can arrange to get an attached function on the mail message, which
    will be executed when the mail is read. This is how Time Management
    works. After you read the meeting invitation, the function does the
    work of putting it in your calendar.
    
    However, only certain functions can be attached to mail messages -
    There's a table in OAGBL.BLI called MAILFUN which defines which
    functions can be attached to messages. You'll see that "DO" is there,
    but commented out. This is to stop people sending you some dangerous
    script that will be executed in your account!
    
    To add another one will require you to do some Code Level stuff, and
    other chnages on all the systems on your network.
    
    A simpler way might be to add something to the end of the message title
    and then customise the read code to handle it.
    
    Graham
1975.2See Tony Redmond's First Book - Page 144-146BERN02::MUELLERSStefan A. M�ller DTN 761-4864Thu Dec 17 1992 15:560