× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: email within a bat file
  • From: "Gary Kuznitz " <docfxit@xxxxxxxxxxx>
  • Date: Sat, 13 Jan 2001 14:44:34 -0800

On 12 Jan 2001, at 12:17, Angela Wawrzaszek wrote:

>  Is there a way within a bat file I
> can say to email this file out?     even
> "hard-coded" in a bat file to e-mail a file.   
> 
> Angie Wawrzaszek 
> M.I.S. Department 

I'm not sure if you are asking for a solution to email out from your AS/400 
or from your PC.  If you want to email out from your PC you can use 
Pegasus Email (free) from:
http://www.pmail.com/
You can add a line in a bat file with no programming to send a file out.  It 
would look something like this:
C:\PMAIL\winpm-32.exe -a -z 512
C:\PMAIL\winpm-32.exe -F G:\Temp\winipcfg.out -A -T 
<docfxit@thegrid.net> 

In the first line it calls the Pegasus Email program (winpm-32.exe) with a 
couple switches that you might not need.  (-a space) means "Forces 
WinPMail to run in standalone mode, ignoring any NetWare connection."
(-z space 512) means "Play new mail alert sound any time new mail arrives"
The second line calls the program with the switch (-F) and it tells Pegasus 
the file name to send out.  The (-A space) is the same as above.  The (-T 
space) switch tells Pegasus who to send the message to. Of course the 
address needs to be moved to the second line after the -T.  

Enjoy,

Gary Kuznitz
        
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.