All,
I am trying to send email with an attached STMF from the AS/400
programatically. I was using SMTP with a relay to our Exchange server, and
when it worked, it worked well. But sometimes it didn't work, and we never
knew when that was. I found a Java email utility written by James Zhang. It
works very well for mail that stays in-house, but it will not send mail
outside my company.
I have modified the java.mail.properties file to say  
email.hosttype=mail.smtp.host

email.hostname=mailserver.ihfa.org 

I have changed the host name to the IP address of our mail server, it's
unqualified name and the qualified name as shown above. In all cases, mail
is sent to xxxxx@xxxxxxxx addresses but not to any outside addresses. The
exchange server is set to alow mail relaying only from our AS/400 ip
address, and it works because the in-house mail does relay. Our exchange
guru swears that the mail to an outside address never even shows up on the
mail server. Is there some setting that I need to change on my AS/400 ?
Ideas and RTM's accepted.

Cyndi B.
Boise, ID
_________________________________________________________
  
 

"The Idaho Housing and Finance Association provides funding
for affordable housing in Idaho communities. IHFA is not a state
agency under state law, and uses no state funds or state employees
to support its operations."


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.