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



Yes he's using the JavaMail API. I emailed Aaron, he sent me to the stack
overflow.com website. I think I know what needs to be done, I was just
hoping for verification that I was headed in the right direction by
duplicating the SMTP Port code and calling it SMTP timeout then calling that
procedure in the RPGMail program.







-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Richard Schoen
Sent: Thursday, December 29, 2011 1:24 PM
To: rpg400-l@xxxxxxxxxxxx
Subject: RE: RPGMail SMTP Server Timeout

If I recall correctly he is using JavaMail APIs under the covers.

There should be a timeout property available for that possibly.

Have you emailed Aaron ?

Regards,
Richard Schoen
RJS Software Systems Inc.
Where Information Meets Innovation
Document Management, Workflow, Report Delivery, Forms and Business
Intelligence
Email: richard@xxxxxxxxxxxxxxx
Web Site: http://www.rjssoftware.com
Tel: (952) 736-5800
Fax: (952) 736-5801
Toll Free: (888) RJSSOFT
----------------------------------------------------------------------

message: 1
date: Wed, 28 Dec 2011 13:54:25 -0500
from: "Jeff Elam" <jelam@xxxxxxxxxxx>
subject: RPGMail SMTP Server Timeout

Hello,



I'm currently using Aaron's RPGMail to send emails directly
from our System I. I have an intermittent problem where it appears (based
on Aaron's comments) the SMTP Server connection is timing out causing my
program to hang. Has anyone successfully added a timeout exception to
Aaron's package? Aaron pointed me to a page about getting mail from Gmail
into Java applications using IMAP on stackoverflow.com however I'm
struggling on how to make that work in his package. I think I have the right
idea more or less (duplicating the setSMTPPort code in the RPGMAILFM,
RPGMAILCP and RPGMAILSV then calling that new procedure in my program) I
just don't want to head down that road if I'm not even close.



Thanks,



Jeff

--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or
change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/rpg400-l.





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.