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:
Mark Bixby <[log in to unmask]>
Reply To:
Mark Bixby <[log in to unmask]>
Date:
Thu, 20 Jan 2000 09:00:56 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (37 lines)
Steve Viertell wrote:
>
> 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...

Unfortunately it ranges from tricky to impossible to have a script successfully
and reliably drive a telnet session using a general purpose telnet command.

You really need to be using software designed to speak SMTP, and several
freeware and commercial packages are available on MPE.

My freeware favorite (because I ported it :-)) is Sendmail/iX, available from:

        http://www.bixby.org/mark/sendmailix.html

Near the bottom of that page under "How to Run / A Programmatic Example" is a
link to my mailspf CI command file, which e-mails spoolfiles as MIME
attachments.  If the mail software you end up with doesn't directly support
attachments, you could probably adapt my mailspf command file to work with it.

- Mark B.

PS: IIRC (and apologies if I'm omitting somebody), my Sendmail/iX package may
be the only freeware mail solution that gives you the ability to *receive*
e-mail on your 3000 as well as send it.

ATOM RSS1 RSS2