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



How did you put text into your mail message if you commented out the text
field?  And are you able to send an attachment?

Mike E.




                                                                                
                                     
                    fkany@xxxxxxxxxxxxxx                                        
                                     
                    .com                       To:     CN=Java Programming on 
and around the iSeries/O=AS400         
                    Sent by:                    <java400-l@xxxxxxxxxxxx>        
                                     
                    java400-l-bounces@xx       cc:                              
                                     
                    drange.com                 Subject:     Re: Java Mail was 
(RE: Extension too long in file name?) 
                                                                                
                                     
                                                                                
                                     
                    05/22/2003 10: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.






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.