-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Roelof,

@21-Feb-2003, 12:21 +0100 (11:21 UK time) Roelof Otten [RO] in
[EMAIL PROTECTED]">mid:[EMAIL PROTECTED] said:

A>>> Is it possible to restrict access to sending email to a
A>>> particular address based on the time of day? At night, don't
A>>> send to address B. In the day, don't send to address A.

MDP>> No,

RO> Wouldn't it be possible to use an address book macro that
RO> switches the recipient with the %To: macro based on the time of
RO> day?

Okay, okay!

%if:"%SETPATTREGEXP='(?i)sat|sun'%REGEXPMATCH='%DOW'"="":%-
"%if:_%TIME_>_08:30_:%-
_%if:+%TIME+<+17:30+:%-
+%To=''%To='Fred at Work <[EMAIL PROTECTED]>'+_"%-

That does it. Saturday and Sunday ignored, working day is 8:30 to
17:30.

- --
Cheers -- .\\arck D Pearlstone -- List moderator
TB! v1.63 Beta/7 on Windows 2000 5.0.2195 Service Pack 2
'
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1rc1-nr1 (Windows 2000)

iD8DBQE+VhlFOeQkq5KdzaARAksOAKCbcGWkZwW1Id/TuJtzlXCX4zbeLACg5mrj
DAYGpO6TfqvITIJvbvRxARs=
=6zed
-----END PGP SIGNATURE-----



________________________________________________
Current version is 1.62 | "Using TBUDL" information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to