×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Geert,

did you try to add "\n" in your text?

Dieter



Geert Van Landeghem schrieb:
> Best wishes for 2003 to everoyne!
>
> I've got a batch rpg program that calls qcmdexc to
> execute a sndemail2
> command we've written ourselves in java. The command
> accepts from, to,
> subject, ifs-file, ..., xml-file, xsl-file, ... and works
> without problem.
>
> Except that I want to generate linefeeds in the body of
> the text.
> I tried resolving the problem by adding X'10' and X'13'
> programmatically(RPG)
> in the TEXT field (see below) without success.
>
> Is there another solution than changing the TEXT
> parameter from char 1024
> to 10 fields of char 80 and adding the linefeed in the
> java program?
>
>
> TIA,
>
> met vriendelijke groeten,
> salutations sincères,
> kind regards,
>
> Geert Van Landeghem
> Reynders Etiketten NV
> tel: +32 3 460.32.81
> gsm: +32 477.75.95.33
> <mailto:gvl@reynders.com>
>
>
>
>
>
>                     Send e-mail with attachments
> (SNDEMAIL2)
>
>  Type choices, press Enter.
>
>                                   FROM         >
> GVL@REYNDERS.COM
>
>                                   TO           >
> GVL@REYNDERS.COM
>
>                            + for more values
>
>                                   BCC            *NONE
>
>                            + for more values
>
>                                   SUBJECT        *NONE
>
>                                   CONTENTS     > *TEXT
>
>                                   TEXT           Line1
> Line2 Line3
>
>
>   ...
>  XML-To-PDF Attachments:          XMLTOPDF
>    XML File . . . . . . . . . . .
>
>    XSL File . . . . . . . . . . .
>
>                            + for more values
>  File Attachments . . . . . . . . FILES
>
>                            + for more values
>
>
>
>
> _______________________________________________
> This is the Java Programming on and around the iSeries /
> AS400 (JAVA400-L) mailing list
> To post a message email: JAVA400-L@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit:
> http://lists.midrange.com/cgi-bin/listinfo/java400-l
> or email: JAVA400-L-request@midrange.com
> 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-2026 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.