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



We just found the same thing out today (never really used QDLS, but Lawson
seems to like it).  Copy the file into the Root file system and you should
be good to go.

Mike E.




                                                                                
                                     
                    SCarter@xxxxxxxxxxx                                         
                                     
                    Sent by:                   To:     Java Programming on and 
around the iSeries / AS400            
                    java400-l-bounces@xx        <java400-l@xxxxxxxxxxxx>        
                                     
                    drange.com                 cc:                              
                                     
                                               Subject:     Re: Java Mail was 
(RE: Extension too long in file name?) 
                                                                                
                                     
                    05/22/2003 11:50 AM                                         
                                     
                    Please respond to                                           
                                     
                    Java Programming on                                         
                                     
                    and around the                                              
                                     
                    iSeries / AS400                                             
                                     
                                                                                
                                     
                                                                                
                                     





Also, the e-mail you sent may not have worked because you are trying to
send something out of "qdls" instead or root.   The program appears to only
look at the root file system.   The root file system should be used anyway
because, I have heard, access is faster...

here is what my code looks like.    I commented out the original text and
replaced it with the Html version for testing sorry for the confusion...
C*                  Eval      text    = 'james test send file '
c                   eval      text = '<html> <body> ' +
C                             '<a href=' + dqt +
c                             'http://prod400/acctpay/' +
c                             dqt + '>Accounts Payable </a>' +
c                             '<p>&nbsp;</p>' +
c                             ' </body> </html> '
C                   Eval      filename= '/reports/mis/scarter/mer160.pdf'

J. Scott Carter
Programmer/Analyst
e-mail: Mailto:scarter@xxxxxxxxxxx
Phone: 214.583.0348

It's not the destination that counts in life it's the journey. The journey
with the people we love is all that really matters. Such a simple truth so
easily forgotten.



                      fkany@xxxxxxxxxxxxx

                      s.com                      To:       CN=Java
Programming on and around the iSeries/O=AS400
                      Sent by:                    <java400-l@xxxxxxxxxxxx>

                      java400-l-bounces@x        cc:

                      idrange.com                Subject:  Re: Java Mail
was (RE: Extension too long in file name?)


                      05/22/2003 09:05 AM

                      Please respond to

                      Java Programming on

                      and around the

                      iSeries / AS400









>>it really should not take long...  I just did one with 9, 1 Meg
attachments
>>and it was there within seconds...
>>Did you change cjavamail to have your email address as the "to"
>>C                   Eval      from    = 'anything@xxxxxxxxxxx'
>>C                   Eval      to      = 'youremail@xxxx company.com'
>>C                   Eval      replyTo = 'youremail@xxxxxxxxxxxxxxx'
>>C                   Eval      subject = 'JavaMail'
>>C*                  Eval      text    = 'james test send file '

I noticed you commented out the EVAL for TEXT.  I went back into my program
and commented out
the same and also commented out:
C*                  Eval      filename= '/qdls/fkany/hello.txt'

With those commented out I was able to receive an email using the JavaMail
API.

_______________________________________________
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L)
mailing list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.






_______________________________________________
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L)
mailing list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-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.