An excellent freeware utility to use for sending mail from the 400 using any
mail server is SNDM @ http://homepage1.nifty.com/uzaemon/#download

We use it exclusively as our mail server is Exchange.

Rob Ward

-----Original Message-----
From: DAhKow@ibl.intnet.mu [mailto:DAhKow@ibl.intnet.mu]
Sent: Friday, September 14, 2001 1:07 AM
To: midrange-l@midrange.com
Subject: Re: using TELNET (in batch mode) to send e-mail



Hi,

     this query might sound a bit weird to some of you but here goes:

We would like to send e-mails (with attached text files) from the AS/400.
Of course we can use the SNDDST command to do this (as suggested by
numerous posts in this very list). We've tried that and it works fine.
However, it is our understanding that the SMTP server MUST be active for
this to work. This was the case in our tests. When we downed the SMTP
server, no mail was sent.
The problem is that  this SMTP process on the AS400 is 'visible' on the
internet & hence can be prone to attacks (let's forget about any firewall
issue for the time being).
In fact our mail server is a linux box running Notes. What we would like to
do is to use that linux mail server as a SMTP relay to send the e-mail from
the AS400. This works fine interactively : You can telnet, from an AS400
screen to that mail server and specify port 25 (the SMTP default port) to
request the mail server to send mail
e.g TELNET  ip address 25.
This gives you a SMTP conversation with the linux mail server which will
relay mails from the AS400 to any e-mail address. We have tried this and it
works ok. And this does not require the AS400 SMTP server to be active,
hence not accessible on the internet.
Our problem is that want to automate this e-mail sending process using
telnet in 'batch' mode.  (This is similar to using FTP in batch mode by
overriding the input to a file containing FTP commands).

This may seems a bit convoluted but is the above possible and has anyone
done this? We would be glad to have your input.


Regards


_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
or email: MIDRANGE-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.