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



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.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.