Subject: | |
From: | |
Reply To: | |
Date: | Thu, 20 Jan 2000 09:56:26 -0800 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Steve,
We also use an 'enhanced' version of JTMAIL that is invoked with a command file
that performs user and distribution list, to e-mail address, resolution. We
also installed Sendmail/iX because the programmers were not always setting the
'from' address correctly and we had replies being bounced around our network for
days while the mail servers were trying to deliver them to our HP.
Our 'enhanced' version of JTMAIL has the following 'features' (The original
author indicated that he may be including them in his next release).
JTMAIL - mail transport program, Version 1.1.9
(C) 1995 - Vanguard Computer Services Pty Ltd
Format:
jtmail {-r recipient [[-r ...] ...],-R filename} [-h host]
{-c recipient [[-c ...] ...],-C filename} [-p port]
{-b recipient [[-b ...] ...],-B filename} [-u user]
[-t] [-s subject] [-f file [a] [-d]] [-v] -[V]
-r recipient Internet name of 'To:' user (eg [log in to unmask])
-R filename Name of file containing a list of recipients
one 'To:' recipient per record
-h host Name of the smtp host (eg george.wiz.oz)
-c recipient Internet name of 'Cc:' user (eg [log in to unmask])
-C filename Name of file containing a list of recipients
one 'Cc:' recipient per record
-p port Name or number of SMTP service port
-b recipient Internet name of 'Bcc:' user (eg [log in to unmask])
-B filename Name of file containing a list of recipients
one 'Bcc:' recipient per record
-s subject Subject: line to be included in message
-f file Text file to be sent as a message
-a Text file to be attached to user message
-u user Return address of user sending message
-t Include 'To:' and 'From:' lines in message
based on 'recipient' and 'user' values
-v Verbose mode
-V Verbose mode and echo of file contents
-? This screen
Externals: MAILUSER - 'user' environment variable
MAILHOST - SMTP 'host' environment variable
MAILPORT - SMTP 'port' environement variable
HOST - Local node name for this host
MAILCCUSER - Default 'CC:' recipient variable
MAILBCCUSER - Default 'BCC:' recipient variable
MAILVTRACE - Boolean to enable '-V' switch
Defaults: host : 'MailHost' in SERVICES.NET.SYS
port : 'SMTP' in Services file or port 25
user : logon user on local node (USER.ACCOUNT@LOCAL)
Regards
Paul Christidis
Steve,
Adding e-mail capabilities to the 3000 is easy. We used a program called JTMail
that is really easy provided you do not need to send attachments. It's a simple
setup. I just installed Mark's sendmail because we wanted to send
attachements(datafiles/reports) using e-mail. It was fairly easy to setup and
if you don't want inbout e-mail to the 3000, you don't need to run the job and
you don't need syslog.
bob
____________________________________________________________ It's
possible to Telnet to port 25 of a SMTP server and send mail with a command
line...I would like to incorporate that functionality into a UDC (or command
file). It's easy to do this to send a simple email...
Telnet servername.domain 25
helo
mail from:username@domain
rcpt to:tousername.domain
data
"message goes here"
quit
Question - how would/could this be used to attach a file from the MPE file
system to the email?
If anyone has done this, I'd sure like to talk to them instead of re-inventing
the wheel...
Steve Viertell
Chico Unified School District
Information Services Supervisor
530 891-3023 (Voice)
530 891-3220 (Fax)
|
|
|