× 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.



I agree with Buck.  The socket programming for this would be fairly trivial.
In your case the AS/400 would be the client, and the Linux box would be the
server.  Writing socket clients is much easier than writing socket servers.
It sounds like you've learned a little bit about the SMTP protocol by simply
using the OS/400 telnet client to connect to port 25 and send messages.  You
could do the same thing with a simple socket program of your own, in batch.
The more interesting challenge is formatting messages that originate from
OS/400 users (or programs).  You may need to learn something about the MIME
formats used by SMTP, and if you want to attach files to the messages,
you'll need to do some base64 encoding.

Nathan.


> Hi!  Sockets will probably work for you.  Scott Klement has a tutorial at
> http://klement.dstorm.net/rpg/socktut/index.html.  You can also read the
RPG
> Redbook (search the FAQ for "Redbook".)
>
> --buck




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.