Thanks,
Mark Michrina mmic...@mvsn.com
Jan Lend
Depends on your platform. OS/2 and Unix generally have sendmail
setup. You can create your email message and send it with
sendmail using 'sendmail -t < msg.txt' or maybe 'sendmail -t -af msg.txt'
depending on your sendmail. The msg.txt file is a email message with
a to:, from:, subject: headers and the text of the message.
If your on a windows box, you can use BLAT instead of sendmail.
jack - ja...@cybermail.net - http://www.cybermail.net
ICQ# 27979473 <img src="http://logos.cybermail.net/cybercool.gif">
I'm sorry for not mentioning this in my first note, but my platform is
Windows NT Server 4.0. I have found a sendmail package on download.com, but
I cannot find any reference to BLAT. Can you tell me more about this?
Thanks!
Mark
>Has anyone found a way to send e-mail from within a REXX program? We
>want to be able to notify users/support at particular times in our
>program. The corporate e-mail software package is Eudora. Is this
>possible?
Using SENDMAIL, it's easily possible. It's even possible to do it directly
using the RxSock interface to TCP/IP.
--
- Mike
Remove 'spambegone' to send e-mail.
A search of www.dejanews.com ( I LOVE that service ) for blat, sendmail,
and nt has a hit that shows that blat can be found at
http://www.interlog.com/~tcharron/blat.html
I can't believe that there isn't a sendmail for NT... but until there is,
you'll have to live with BLAT.
thanks,
tom
>Jack,
>I'm sorry for not mentioning this in my first note, but my platform is
>Windows NT Server 4.0. I have found a sendmail package on download.com,
>but I cannot find any reference to BLAT. Can you tell me more about
>this?
>Thanks!
>Mark
>Jack Snodgrass wrote:
>> In article <36A76423...@mvsn.com>, mmic...@mvsn.com says...
>> > Has anyone found a way to send e-mail from within a REXX program? We
>> > want to be able to notify users/support at particular times in our
>> > program. The corporate e-mail software package is Eudora. Is this
>> > possible?
>> >
>> > Thanks,
>> > Mark Michrina mmic...@mvsn.com
>> >
>> >
>>
>> Depends on your platform. OS/2 and Unix generally have sendmail
>> setup. You can create your email message and send it with
>> sendmail using 'sendmail -t < msg.txt' or maybe 'sendmail -t -af msg.txt'
>> depending on your sendmail. The msg.txt file is a email message with
>> a to:, from:, subject: headers and the text of the message.
>>
>> If your on a windows box, you can use BLAT instead of sendmail.
>>
>> jack - ja...@cybermail.net - http://www.cybermail.net
>> ICQ# 27979473 <img src="http://logos.cybermail.net/cybercool.gif">
______________________________________________________________
do...@disisit.com
Dynamic Information Systems
3808 Old College Rd.
Bryan, TX 77801
409 846 4565
http://www.disisit.com
______________________________________________________________
The absolute best firefighter & paramedic training software available,
http://www.disisit.com/rapid.html
>Has anyone found a way to send e-mail from within a REXX program? We
>want to be able to notify users/support at particular times in our
>program. The corporate e-mail software package is Eudora. Is this
>possible?
If you are using OS/2, you can use a simple procedure that I developed
(actually, that I adapted from some earlier work by dave brichetti).
It uses socket calls (in rxSock.dll) to send mail (to multiple addresses)
via an smtp gateway (such as sendmail).
You can get this procedure at:
http://rpbcam.econ.ag.gov/thefiltr/mailit.cmd
-----------------------------------------------------------
dan...@crosslink.net
-----------------------------------------------------------
For Win95/NT I have been using WSENDMAIL for about 2 years, it works well,
it's flexible, and returns a direct RC without spawning another command task,
so all REXXes can get the RC to tell of success/failure under W95.
It's freeware, you can get it at:
Cheers,
Steve (remove anti spam XYX in return address for correct email)
Is there anything similar for receiving email ?
JL
There are two ways that I have picked up e-mail from Rexx... I have used
Clock Manager Automation software to start an e-mail program (Eudora) and
check for mail. Then after the e-mail program was completed and shut down. I
grabbed the inbox file in Rexx. When I started doing that, it was the only
way that I could figure out how to get mail.
Now you have another choice, for sending mail as well... Use RxSockets. I
have used the IBM ObjRexx version, but there are now packages for Regina and
some of the others.
Using the Sockets interface I have used the exact same code under W95 and
Linux. So far I have just played with some test code, but it seems that it
all works well enough to use.
If you want some butt-ugly-but-working POP3 and SMTP sample code in ObjRexx,
please send me a note...
Do you want to use rexx to actually do the receiving ( pop or sendmail )
or do you want to process it from a queue/directory once another program
has received and stored the message? There are some email program that
you can run from a command line and automatically pop your mail. This
doesn't have anything to do with rexx.
>> For Win95/NT I have been using WSENDMAIL for about 2 years, it works well,
Another free solution is BLAT.EXE, which I picked up from one of the
freeware/shareware archives about a year ago. Here is its screen
blurb:
-----------------
Blat v1.5: WinNT console utility to mail a file via SMTP
syntax:
Blat <filename> -t <recipient> [optional switches (see below)]
Blat -install <server addr> <sender's addr> [-q]
Blat -h [-q]
-install <server addr> <sender's addr>: set's default SMTP server and
sender
<filename> : file with the message body ('-' for console input, end
with ^Z)
-t <recipient>: recipient list (comma separated)
-s <subj> : subject line
-f <sender> : overrides the default sender address (must be known to
server)
-i <addr> : a 'From:' address, not necessarily known to the SMTP
server.
-c <recipient>: carbon copy recipient list (comma separated)
-b <recipient>: blind carbon copy recipient list (comma separated)
-h : displays this help.
-mime : MIME Quoted-Printable Content-Transfer-Encoding.
-q : supresses *all* output.
-server <addr>: overrides the default SMTP server to be used.
Note that if the '-i' option is used, <sender> is included in
'Reply-to:'
-------------------
I've used it successfully to send periodic messages from REXX
programs.
Mike Prager
from Northern California
Thanks for the suggestions - I got Wsendmail and blat, and now just have
to take the time to play with them :-)
JL