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



Try X'15

Thanks,

Mark

Mark D. Walter
Senior Programmer/Analyst
CCX, Inc.
mwalter@xxxxxxxxxx
http://www.ccxinc.com


                                                                           
             "Edouard X                                                    
             Lanteigne"                                                    
             <edouard.lanteign                                          To 
             e@xxxxxxxxxx>             Java Programming on and around the  
             Sent by:                  iSeries / AS400                     
             java400-l-bounces         <java400-l@xxxxxxxxxxxx>            
             @midrange.com                                              cc 
                                                                           
                                                                   Subject 
             06/20/2005 02:40          RE: Send e-mail from as/400 with    
             PM                        java - Carriage return              
                                                                           
                                                                           
             Please respond to                                             
             Java Programming                                              
             on and around the                                             
              iSeries / AS400                                              
             <java400-l@midran                                             
                  ge.com>                                                  
                                                                           
                                                                           




I am using an RPG passing a string to a little java program... I assuming
that i will have to use an Hex value like 0D0A but that seems to not work.

Thanks.

Edouard Lanteigne
Abbott Laboratories (Canada), Systems Analyst
Tel: (514) 832-7124 Fax: (514) 832-7833
E-mail : edouard.lanteigne@xxxxxxxxxx
http://www.abbott.ca


This communication may contain information that is proprietary,
confidential or exempt from disclosure. If you are not the intended
recipient, please note that any dissemination, distribution, use or
copying of this communication is strictly prohibited. Anyone who receives
this message in error should notify the sender immediately by telephone or
by return e-mail, and delete it from his or her computer.

Cette communication peut contenir des renseignements protégés,
confidentiels ou soustraits à la divulgation en vertu de la loi. Si vous
n'êtes pas le destinataire prévu, veuillez prendre note que la
divulgation, la distribution ou la reproduction de cette communication
sont strictement interdites. Si vous avez reçu cette communication par
erreur, veuillez immédiatement en avertir l’expéditeur par téléphone ou
par retour de ce courriel, et supprimer la communication de votre
ordinateur.



"albartell" <albartell@xxxxxxxxx>
Sent by: java400-l-bounces@xxxxxxxxxxxx
06/20/2005 02:33 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: Send e-mail from as/400 with java - Carriage return






Are you using Java to compose the text to send the email, or are you just
using the JavaMail API's to send the email and are using something like
RPG
or C to compose the email text?

If you are using Java to compose the text try using the escape character
of
\n.  For example

String str = "Dear Alpo Dealers,\n We are pleased to announce the latest
flavor...\n Sincerely Yours,\n Alpo America.";

If the text for the email was being composed in another language on the
iSeries you would have to use the respective special character for that
language (or just use the hex values).

HTH,
Aaron Bartell



-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx
[mailto:java400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Edouard X Lanteigne
Sent: Monday, June 20, 2005 1:16 PM
To: Java Programming on and around the iSeries / AS400
Subject: Send e-mail from as/400 with java - Carriage return

Hi,

I would like to add a Carriage Return to an e-mail that i'm sending from
the as/400

I am using javamail.

What should I use.

Thanks.

Edouard Lanteigne
Abbott Laboratories (Canada), Systems Analyst
Tel: (514) 832-7124 Fax: (514) 832-7833
E-mail : edouard.lanteigne@xxxxxxxxxx
http://www.abbott.ca


This communication may contain information that is proprietary,
confidential or exempt from disclosure. If you are not the intended
recipient, please note that any dissemination, distribution, use or
copying of this communication is strictly prohibited. Anyone who receives
this message in error should notify the sender immediately by telephone or

by return e-mail, and delete it from his or her computer.

Cette communication peut contenir des renseignements protégés,
confidentiels ou soustraits à la divulgation en vertu de la loi. Si vous
n'êtes pas le destinataire prévu, veuillez prendre note que la
divulgation, la distribution ou la reproduction de cette communication
sont strictement interdites. Si vous avez reçu cette communication par
erreur, veuillez immédiatement en avertir l’expéditeur par téléphone ou
par retour de ce courriel, et supprimer la communication de votre
ordinateur.


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

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.