Subject: | |
From: | |
Reply To: | |
Date: | Thu, 20 Jan 2000 12:10:16 -0500 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Steve,
We are using JTMAIL here. It is a stand alone program that allows sending
mail from the 3000 to a SMTP server. Very little set-up. I pulled it off
the Interex server. Here's the help from the code...
run jtmail.pub.util;info="-?"
JTMAIL - mail transport program, Version 1.1.2
(C) 1995 - Vanguard Computer Services Pty Ltd
format: jtmail -r recipient [-r ...] [-h host] [-p port]
[-s subject] [-f file [-d]] [-u user] [-t] [-v]
-r recipient the internet name of the user (eg [log in to unmask])
-h host name of the smtp host (eg george.wiz.oz)
-p port name or number of SMTP service port
-s subject Subject: line to be included in message
-f file Text file to be sent as a 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
-? This screen
Externals: MAILUSER - 'user' environment variable
MAILHOST - SMTP 'host' environment variable
MAILPORT - SMTP 'port' environement variable
HOST - local node name for this host
Defaults: host : 'MailHost' in SERVICES.NET.SYS
port : 'SMTP' in Services file or port 25
user : logon user on local node (USER.ACCOUNT@LOCAL)
David Knispel
[log in to unmask]
Phone: 513-248-5029
Fax: 513-248-2672
----- Original Message -----
From: Steve Viertell <[log in to unmask]>
To: <[log in to unmask]>
Sent: Thursday, January 20, 2000 11:36 AM
Subject: Email/telnet/3000
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)
|
|
|