HP3000-L Archives

January 2000, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Dave Knispel <[log in to unmask]>
Reply To:
Dave Knispel <[log in to unmask]>
Date:
Thu, 20 Jan 2000 12:10:16 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (70 lines)
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)

ATOM RSS1 RSS2