Subject: | |
From: | |
Reply To: | |
Date: | Wed, 16 Oct 2013 09:42:54 -0400 |
Content-Type: | text/plain |
Parts/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 *
|
|
|