T.R | Title | User | Personal Name | Date | Lines |
---|
1054.1 | Using AMTS to send to a file | SIOG::T_REDMOND | Thoughts of an Idle Mind | Wed Jul 15 1992 14:50 | 11 |
| AMTS allows you to declare a special mail destination. If you put "TBS"
into the mail destination field of a user's profile record, ALL-IN-1
will invoke OA$LIB:TBS.COM to process any messages sent to the user.
TBS.COM could perform a DCL copy to move the message text to another
directory where the mail system picks it up. Make sure you remember to
copy the mail header as well, and to convert the file into ASCII (or
whatever the other mail system understands). It would also probably
help if you generated a unique file name each time round.
Tony
|
1054.4 | Or the MAIL SEND function? | AIMTEC::WICKS_A | DEC Mail Works for ME sometimes | Wed Jul 15 1992 18:33 | 15 |
| Elisabeth,
Are you sure AMTS (Alternate MAil Transport System) is the way you want
to go, here's another alternative depending on what you are trying to
do.
the MAIL SEND function will also take a parameter that is a VMS
filespec e.g MAIL SEND [USER.A1.DOC8]ZXXXXXXX.TXT
Just a thought.
Regards,
Andrew.D.Wicks
|
1054.5 | AMTS doesn't work for me either! | IOSG::WDAVIES | There can only be one ALL-IN-1 Mail | Wed Jul 15 1992 19:32 | 14 |
| Not true - I just tried it.
I can't figure out AMTS at all - however maybe you are thinking of
_SPECIAL addressing ?
If you start the address with an Underscore then OA$LIB:SPECIAL.COM
is executed. The default is to run VMSmail to send - but you could
modify it to do something else.
Tony or someone else please elaborate on AMTS and how it is set up.
Winto
|
1054.7 | This always USED to work | FORTY2::ASH | Grahame Ash @REO | Thu Jul 16 1992 10:49 | 7 |
| fwiw, I'm with Tony - create a new user, called MAILFILE, give it a mail
destination of MAILFILE, create oa$lib:mailfile.com, which takes the current
document as a parameter #MAILFILE (see Chapter 17 of the V2.4 API Guide).
What's the problem guys - surely this works?!!
grahame
|
1054.8 | | IOSG::WDAVIES | There can only be one ALL-IN-1 Mail | Thu Jul 16 1992 11:22 | 26 |
| - well my mistake - MAIDES is VALIDATED on MUA options :
So to a system manager it would appear impoosible to enter anuything
else in it...
what you need to do is this Elisabeth.
<WRITE ADD PROFIL USER=REPLY,MAIDES="REPLY"
Create a file REPLY.COM in OA$LIB:
$WRITE OAMAILBOX "OA GET #MAILADDR"
$@DCLMAILBOX
$p1 = "''RESULT'"
$WRITE OAMAILBOX "OA GET #MAILSUBJ"
$@DCLMAILBOX
$p2 = "''RESULT'"
$!
$REPLY/USER='P1' "''p2'"
To use it, address mail to:
TO: REPLY_username
Winton
|
1054.10 | | IOSG::MAURICE | Ceci n'est pas une note | Thu Jul 16 1992 14:48 | 6 |
| This just a case where the chicken must come before the egg, i.e. the
command file must be in place before the profile field can be edited.
Cheers
Stuart
|