T.R | Title | User | Personal Name | Date | Lines |
---|
3294.1 | the reason | AIMTEC::WICKS_A | U.S.A 2 England 0 - I was there! | Fri Sep 17 1993 19:46 | 18 |
| Debbie,
this has been discussed many many times before .... ALL-IN-1 does not
implement true auto-forwarding but instead implements a service known
as redirection.
redirection involves a 1-for-1 replacement of addresses i.e replace
OLOFSON by WICKS so since a distribution list isn't just one address
but rather a pointer to a list of addresses you aren't allowed to do
this.
I'm sure that you could do a customisation that did a read-new-mail
followed by a forward to a distribution list though.
Regards,
Andrew.D.Wicks
|
3294.2 | Use AMTS? | BOOZER::MARTIN::BELL | Martin Bell, NTCC, Birmingham UK | Fri Sep 17 1993 21:57 | 12 |
| Debbie,
if the account from which the "auto-forward" is to be performed is a
permanent setup, rather than making it a normal ALL-IN-1 account,
create a PROFIL entry with a special MAIDES field pointing to a command
file to actually send the message to a distribution list.
Can you give us any more details as to exactly WHY you want to
auto-forward to a distribution list?
mb
|
3294.3 | ALL-IN-1 Personal Assistant | IOSG::BILSBOROUGH | SWBFS | Sat Sep 18 1993 19:45 | 13 |
|
Debbie,
One explanation I heard was so that you wouldn't have mail loops.
However, (apologies for the advert) ALL-IN-1 Personal Assistant will do
this gladly and is very easy to do.
Why customise when you can buy :-)
Hope this helps.
Mike
|
3294.4 | Thanks! | NYOS02::OLOFSON | DEBORAH OLOFSON | Thu Sep 23 1993 18:43 | 5 |
| Thanks for the suggestions. I will be meeting with the customer to
discuss on 9/28 and will find out more about why they want to do this.
Regards,
Debbie
|
3294.5 | Yes on Perm Account for AF | NYOS02::OLOFSON | DEBORAH OLOFSON | Wed Sep 29 1993 15:07 | 9 |
| The customer wants to set up one account (not user account) to auto-
forward to a distribution list. (as in note .2). Can I get more
details on how the customer set it up? If someone has already done
this I would really like to get a copy of the command file to see whats
being done.
Thanks very much.
Debbie
|
3294.6 | MAIDES | BOOZER::MARTIN::BELL | Martin Bell, NTCC, Birmingham UK | Mon Oct 04 1993 12:30 | 26 |
| Debbie,
when mail is sent to an ALL-IN-1 user account, the code checks
the MAIDES field in PROFIL to determine how the user wishes to receive
their mail. Some of the more common values in this field are ALL-IN-1,
VMSMAIL or NOMAIL, and the actions for these choices are hard-coded into
ALL-IN-1.
If the value in the field is not one of the hard-coded values, ALL-IN-1
looks for a command file of the same name, and executes that to actually
deliver the message. The Application Programming: Guide, Page 18-6,
describes how the thing works.
Although i haven't actually tried it, when the FETCHER runs to deliver
a message to the "dummy" account, it should be able to run this command
file, which can then build a message to a distribution list and send it.
You would have to be careful to avoid infinite loops and be able to
handle attachments etc.
If i get time i will write some example code,
good luck,
mb
|
3294.7 | Prototype ... | BOOZER::MARTIN::BELL | Martin Bell, NTCC, Birmingham UK | Mon Oct 04 1993 13:01 | 34 |
| I just gave it a quick try, and it worked (sort of) ...
I created a PROFILe entry called DISTRIB, which has a MAIDES of DISTRIB.
In OA$LIB was a command file:
distrib.com
===========
$ write oamailbox "oa do DISTRIB"
$ @dclmailbox:
Which calls do script:
distrib.scp
===========
mail create/open
mail to "BELL"
mail subject "Test to dist"
mail text "Hi Martin"
mail text " IT WORKS!"
mail close_message
mail send
And when i sent a message to DISTRIB, a mail message was sent to BELL
automatically.
Admittedly there were several error messages, but the basic idea seems
to work. You will need to include the file pointed to by #MAILFILE in
the forwarded message, and create the required distribution list, plus
do checks and fix the any errors.
Have a play around yourself and see what you come up with.
mb
|
3294.8 | | BOOZER::MARTIN::BELL | Martin Bell, NTCC, Birmingham UK | Tue Oct 12 1993 10:27 | 9 |
| Debbie,
have you given the code a try yet?
if you don't have the necessary programming skills, then give
a shout - i am sure we can come up with a more complete example,
or even find someone to write the code for your customer.
mb
|