As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
I am trying to create an email via edamqail that displays multiple lines in the body. I have looked at different examples on focalpoint tried to modify them. At first I thought the -lines was allowing the body to have multple lines, but it looks like it allows multple lines of code. Below is one of the examples I was working with.
I would like the body of the email to look like this.
testing email line2 line3 line4 line5
I have tried to put <html><body><a>Test</a></body><html> in the code also. Can I use html tags to change the fonts?
After trying other scenarios that all display the body in one single line, I wonder if it is a setting that I need to change.This message has been edited. Last edited by: <Emily McAllister>,
WebFocus 8.1.5 iSeries/Windows DB2/SQL/Access Dev Studio App Studio Maintain ReportCaster
Posts: 341 | Location: Pembroke NH/Jericho NY | Registered: June 15, 2011
-SET &ECHO=ALL;
-SET &TEXT = 'EDAMAIL Test';
-SET &LEAD_NAME = 'tflynn13';
-SET &OUT_FILE = &LEAD_NAME || '_Testing_EDAMAIL';
-* Separate target multiple EMAIL's here
-SET &EMAIL_TO_FR = 'tflynn13@your_domain.com' || ',' | 'tflynn_in_va@your_domain.com';
SET PAGE-NUM = OFF
TABLE FILE IBISAMP/CAR
HEADING
"This is Line 1"
"This is Line 2"
"This is Line 3"
"This is Line 4"
"This is Line 5"
" "
PRINT
MODEL
BY COUNTRY
BY CAR
ON TABLE HOLD AS '&OUT_FILE.EVAL' FORMAT HTML
ON TABLE SET STYLE *
TYPE=TITLE, STYLE=BOLD+UNDERLINE, SIZE=9, FONT=ARIAL,$
ENDSTYLE
END
-RUN
EX EDAMAIL &EMAIL_TO_FR,&TEXT,B,HTML,&OUT_FILE
-RUN
One of the issues is that I have an attachment. So technically it says you can't have a inline body with an attachment. But I am trying to get around it. There has been suggestions to insert HTML tags, but my emails go out as plain text instead of HTML. I have IBI support looking into it.
WebFocus 8.1.5 iSeries/Windows DB2/SQL/Access Dev Studio App Studio Maintain ReportCaster
Posts: 341 | Location: Pembroke NH/Jericho NY | Registered: June 15, 2011
Thanks for your suggestion. I have tried different variations making a parameter equal to something and adding that parameter into the message section of the edamail command. Whatever I try to insert displays on a single line. (/n/r, /t/t, /r/n, , ....)
When I entered your code it didn't display anything after where the code would have been. As if it was an error without displaying an error.
Thanks everyone for all your suggestions. Hopefully support will be able to figure it out. I will let you know.
WebFocus 8.1.5 iSeries/Windows DB2/SQL/Access Dev Studio App Studio Maintain ReportCaster
Posts: 341 | Location: Pembroke NH/Jericho NY | Registered: June 15, 2011
I have achieved something similar by creating an html page and saving it to a directory, and then including that file in the email. So the message text is in the .htm file. Not sure how your email server will handle this, but ours puts the .htm file inline in the email.
EX EDAMAIL receiveremail@email.com, senderemail@email.com, SUBJECT,,HTML, file.htm
Originally posted by SWES: Jay, use the following:
-SET &CRLF = HEXBYT(13,'A1')|HEXBYT(10,'A1');
-SET &ERSAND='&';
-SET &LINEBREAK=&ERSAND||'CRLF.EVAL';
-WRITE TEXT NOCLOSE &INPUT &CRLF.EVAL
-CLOSE TEXT
Hi SWES, Sorry, I am very new to WebFocus. Can you give me a working example of this? I got the email working with attachment with inline body message (Not HTML). I just need to have a multi lines messages to show up.