I'm so excited, this worked! It is going to solve several issues for us.
Have a great weekend.
Thanks
Allen
> ----------
> From: Simonsen, Larry[SMTP:[log in to unmask]]
> Sent: Friday, March 17, 2000 10:13 AM
> To: 'Porter, Allen H'; [log in to unmask]
> Subject: RE: email on the 3000
>
> Attachment file names can be changed in the uuencode command. Here is our
> command file for sending
> USER DEFINED COMMAND FILE: MAILFILE.BAT.ENV
>
> parm recipients=!HPUSER.!HPACCOUNT,&
> subject='HP3000 file',&
> fname,&
>
> dest_fname="!fname",&
> from='default'
>
> comment This is a stripped down version of Mark Bixby's MAILSPF. MAILFILE
> comment will send a specified file as an uuencoded attachment
> comment Syntax:
> comment
> comment mailfile recipients="[log in to unmask], [log in to unmask], ...",
> comment subject="subject header of e-mail message",
> comment file="name of the file to send",
> comment mailf_fname="name of the destination file"
> comment
> comment MAILFILE and
> comment (http://www.cccd.edu/~markb/sendmailix.html) as a mail
> transport.Note
> comment that other mail transports may be used as long as the
> transportwill
> comment accept a fully formatted message that includes headers.
> comment
> comment Where to obtain the oringal MAILSPF CI command file:
> comment
> comment http://www.cccd.edu/ftp/pub/mpe/mailspf
> comment or
> comment ftp://ftp.cccd.edu/pub/mpe/mailspf
> comment
> comment How to contact the MAILSPF author:
> comment
> comment Mark Bixby
> comment Coast Community College District
> comment District Information Services
> comment 1370 Adams Ave
> comment Costa Mesa, CA 92626-5429
> comment voice: +1 714 438-4647
> comment email: [log in to unmask]
> comment web: http://www.cccd.edu/~markb
> comment
> comment Change History
> comment
> comment 1.0 April 8, 1998
> comment
> comment Initial public release.
>
> comment
> comment Check to see if the file to send exists
> comment
> if FINFO( "!fname","exists") = FALSE then
> echo File does not exist
> return
> endif
>
> setvar MAILSMTPHOST "mailhost"
> setvar mailsubject "!subject"
> comment
> comment Purge the mail message temp file if it exists.
> comment
>
> file mailfm,oldtemp
> if FINFO('*mailfm','exists') then
> purge mailfm,temp
> endif
>
> comment
> comment Start creating the message as a temp file.
> comment
>
> build mailfm;temp;rec=,,b;disc=2147483647
> comment Generate a MIME boundary string.
> setvar mailf_sep RHT(RPT('-',36)+"!HPSUSAN!HPPIN!HPCPUMSECS",36)
>
> comment Generate a temorary file name
> setvar mailf_fname "/tmp/mf!HPSUSAN!HPPIN!HPCPUMSECS"
>
> comment
> comment uuencode the file and appened it
> comment
>
> xeq tobyte.hpbin.sys "-at !fname !mailf_fname"
> xeq uuencode.hpbin.sys "!mailf_fname !dest_fname" >>*mailfm
> purge !mailf_fname
>
> comment
> comment That's all, folks.
> comment
>
>
> comment
> comment Mail the message.
> comment
> if '!from' = 'default' then
> setvar mailfrom "!hpuser.!hpaccount" +"_!sysemailadr"
> else
> setvar mailfrom '!from'
> endif
>
> run mail.pub.env ;info='-m mailfm -f !mailfrom -t !recipients -c
> [log in to unmask]
>
> comment
> comment Clean up.
> comment
>
> S/
>
> Hope this helps.
>
> -------------------------------------------------
> Larry Simonsen Phone: 801-489-2450
> Flowserve Corporation Fax: 801-491-1750
> PO Box 2200 http://www.Flowserve.com
> Springville, UT 84663 e-mail: [log in to unmask]
> -------------------------------------------------
> All opinions expressed herein are my own and reflect, in no way, those of
> my
> employer.
>
> -----Original Message-----
> From: Porter, Allen H [mailto:[log in to unmask]]
> Sent: Friday, March 17, 2000 9:04 AM
> To: [log in to unmask]
> Subject: Re: email on the 3000
>
> We are currently using the freeware app from Telamon. It works well and
> is
> easy to implement. The one drawback is that all attachments are given a
> .txt extension. Does anyone know a work around or use a product that
> allows
> you to name the attachment as you want? Again, we only want to send out
> e-mails.
> Thanks
> Allen
>
> > ----------
> > From: Dave Knispel[SMTP:[log in to unmask]]
> > Reply To: Dave Knispel
> > Sent: Friday, March 17, 2000 9:50 AM
> > To: [log in to unmask]
> > Subject: Re: email on the 3000
> >
> > We are using JTMAIL freeware available on the Interex tape/site. There
> > are
> > also several modified copies around that have the ability to attach
> files,
> > etc. We basically use it to do just what you are saying, send mail to
> > users
> > when a job completes, send counts from files that have transferred, etc.
> >
> > David Knispel
> > [log in to unmask]
> > Phone: 513-248-5029
> > Fax: 513-248-2672
> > ----- Original Message -----
> > From: Paveza, Gary <[log in to unmask]>
> > To: <[log in to unmask]>
> > Sent: Friday, March 17, 2000 9:57 AM
> > Subject: email on the 3000
> >
> >
> > > Greetings,
> > >
> > > I am beginning to look at email software that will run on the 3000s.
> > > Basically, I am not looking for the ability to read/receive email on
> the
> > > 3000, but just wish to be able to send email to users. We have
> > situations
> > > where users want to be informed of information in our batch jobs, but
> > don't
> > > wish to wait for paper reports.
> > >
> > > I'm looking for supported products. We are currently on 6.0 PP1.
> > >
> > > TIA
> > >
> > > -------------------------------------------------------------
> > > Gary L. Paveza, Jr.
> > > Technical Support Specialist
> >
>
|