HP3000-L Archives

October 2013, 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:
"Johnson, Tracy" <[log in to unmask]>
Reply To:
Johnson, Tracy
Date:
Wed, 16 Oct 2013 14:04:36 +0000
Content-Type:
text/plain
Parts/Attachments:
text/plain (1 lines)
MAIL.MAIL.ESP from Beechglen may be another alternative.  (I think they also offer it for free.)



It behaves alot like sendmail, with limited text.  We use it mostly for attachments and a blurb that says what the attachment is.



The file extension does not have to exist on the HP3000, you add the extension when sending it.



In the command line it acts like smtpsend.



Example:



!SETVAR MAILSMTPHOST "aaa.bbb.ccc.ddd"

!SETVAR MAILTO "[log in to unmask]"

!SETVAR MAILSUBJECT "Any Subject"

!MAIL.MAIL.ESP "-r [log in to unmask] -z MYFILE=MYFILE.csv Attached is a file."





I have not had any instances of it getting "stuck" in the middle of sending, or cleaning up of incoming mail, or posix remnants of the attachments.



(MAILSMTPHOST happens to be one of our exchange servers.)



Tracy Johnson

Office (757) 766-4318

[log in to unmask]



> -----Original Message-----

> From: HP-3000 Systems Discussion [mailto:[log in to unmask]] On

> Behalf Of Chuck Lowe

> Sent: Wednesday, October 16, 2013 9:43 AM

> To: [log in to unmask]

> Subject: [HP3000-L] Posix: Maill with attachments

> 

> We have used mail to send files in the past. We now want to send the

> files with the extension added. i.e. .csv. So the user can just do a save

> in email and not saved as so it can just be opened by the applications

> (i.e. Excel)

> 

> I have successfully created posix directories and can read and write to

> them. When I use mail to send the file I get the full directory path name

> as the file name followed by a .txt extension.

> 

> So /OSB/DATA/POSIX/SALES201401.CSV is received as

> OSBDATAPOSIXSALES201401.txt

> 

> I need to have it say the file name + the .csv extension. ie.

> SALES201401.CSV ...

> I've been told my version of mail is an incorrect version: (Thanks Robert

> Mills)

> 

> MAIL(nm): 28Nov2002-11:30 (A.01.94) MPE/iX Telamon, Inc. (C) 1994, 2002

> is what we are running.

> 

> 

> I understand there is a version (SENDMAIL) that was free from HP that

> will allow me to do this.

> Do anyone know where I can download the program and all documentation

> needed.

> 

> additional notes: We don't use a UDC or command file to send me . We do

> the following, so maybe all my changes can be done gloabally with MPEX.

> 

> This is how we execute the sending of mail.

> 

> !setvar pinfo "-t !_TO "

> !setvar pinfo "!pinfo" + "-b [log in to unmask] "

> !setvar pinfo "!pinfo" + "-f !_FROM "

> !setvar pinfo "!pinfo" + "-h !_MAIL "

> !setvar pinfo "!pinfo" + "-m /SH/DATA/IFSBSH01 "

> !setvar pinfo "!pinfo" + "-au /SH/DATA/!_UNIQ "

> !setvar pinfo "!pinfo" + "-s 'QZSBSH01 - Sales Budget vs History -{FM1}'

> "

> !showvar pinfo

> !RUN MAIL.PUB.SYS;INFO="!pinfo"

> 

> * To join/leave the list, search archives, change list settings, *

> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *



* To join/leave the list, search archives, change list settings, *

* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *


ATOM RSS1 RSS2