|
Is there a way to insert a CF/LF into the text of a data area?
I am using a data area to contain standard text that will be inserted into the body of an email for problem reporting. The problem I have is that the text is inserted as one stream. Is there a way to type a CR/LF into the data area text, so that when the email is sent it is formatted better?
In the below code snippet, the EM_DTA field is populated from a data area.
Message = EM_DTA +
'The image processing received an error while +
validating the ZIP file. The ZIP file with internal +
name of ' + %trim(IntZipName) + ' did not contain the +
expected image ' + %trim(CFFJES) + '. Processing +
was stopped.';
SndGmail(NORM_EMAIL:'Manager':EDI_EMAIL:'EDI Support':
Subject:Message:EmailError);
The EM_DTA data area looks something like this, and is used by the email recipient to forward the email after review.
TO: customerservice@xxxxxxxx COPY: support@xxxxxxxx, name@xxxxxxx SUBJECT: Transmission issue with XXX (XXXXXXXX) BODY: Please open a XXX SR Ticket # for the problem detailed below. Client/Company Code = XXXXXXXXX Severity Level = Level 3 Route to: DIS-Professional_Services Customer Contact(s) to receive status: Manager, xxxxxxxx@xxxxxxxxxx, 410-555-1212 Problem Details:
I want to have the text look like that in the email, but when I get the actual email the body looks like this:
TO: customerservice@xxxxxxxx COPY: support@xxxxxxxx, name@xxxxxxxx SUBJECT: Transmission issue with XXX (XXXXXXXXX) BODY: Please open a XXX SR Ticket # for the problem detailed below. Client/Company Code = XXXXXXXXXXXXX Severity Level = Level 3 Route to: DIS-Professional_Services Customer Contact(s) to receive status: Manager, xxxxxxxxx@xxxxxxxxxxxxxx, 410-555-1212 Problem Details: Index file index_11162009160804.txt was received from XXXX that produced an exception. The exception code was RCDCNT Job: 546753/XXXUSER/XXX_TEST
I've tried alt sequences, but I can't seem to find one that gives me a CR/LF.
Matt Hopkins Sr. Programmer/Analyst Web: www.pdpgroupinc.com Email: MWHopkins@xxxxxxxxxxxxxxx
The information contained in this communication may be confidential, is intended only for the use of the recipient named above, and may be legally privileged. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication, or any of its contents, is strictly prohibited. If you have received this communication in error, please re-send this communication to the sender and delete the original message and any copy of it from your computer system. Thank you.
As an Amazon Associate we earn from qualifying purchases.
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.