|
Not necessarily. I ran into an issue where the Javamail program was looking in /home/RPOWER as the root. That is because WDSC changes your current directory when you start it up. Thus, when I was specifying /filename.csv it was looking for /home/RPOWER/filename.csv. Go to your as/400 session, type go filesys, take option 1 directory commands, then take option 4 display current directory. See if it's something other than / and that will tell you where it's looking. Ron Power Programmer Information Services City Of St. John's, NL P.O. Box 908 St. John's, NL A1C 5M2 709-576-8132 rpower@xxxxxxxxxx http://www.stjohns.ca/ ___________________________________________________________________________ Success is going from failure to failure without a loss of enthusiasm. - Sir Winston Churchill "Clapham, Paul" <pclapham@xxxxxxxxxxxxx> Sent by: java400-l-bounces@xxxxxxxxxxxx 2005/08/29 05:40 PM Please respond to Java Programming on and around the iSeries / AS400 <java400-l@xxxxxxxxxxxx> To "Java Programming on and around the iSeries / AS400" <java400-l@xxxxxxxxxxxx> cc Subject RE: Javamail can't find attachment Yes, it would. -----Original Message----- From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of Grizzly M Sent: August 29, 2005 13:03 To: Java Programming on and around the iSeries / AS400 Subject: RE: Javamail can't find attachment That's what I thought. So wouldn't /filename.csv point to the root directory? -----Original Message----- From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of Clapham, Paul Sent: Monday, August 29, 2005 2:51 PM To: Java Programming on and around the iSeries / AS400 Subject: RE: Javamail can't find attachment No, the file can be anywhere, in any directory. You just have to specify the correct path to the file when you attach it. Nothing to do with the SMTP configuration. PC2
As an Amazon Associate we earn from qualifying purchases.
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.