Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Using EDAMAIL to send message with an attachment

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Using EDAMAIL to send message with an attachment
 Login/Join
 
Member
posted
I have successfully been using EDAMAIL for a while now. One particular application sends email to the project manager upon rejection of charges. They would also like to get a spreadsheet of the charges.

Ideally, I would like to add an attachment to the current email. The best I have been able to accomplish is sending two emails: 1) body, 2) attachment.

 
EX EDAMAIL toaddr=tnewton@belcan.com, from=CIS@belcan.com, subject=Rejected Invoice Notice, filetype=HTML, filename=BODY_FILE

EX EDAMAIL toaddr=tnewton@belcan.com, from=CIS@belcan.com, subject=Rejected Invoice Spreadsheet, flags=A, filetype=XLSX, filename=EXCEL_FILE


I will even settle for sending both as attachments as long as they are in the same email. I read somewhere that you could by placing a semi-colon between filenames. However, that has not worked for me.

Any suggestions would be greatly appreciated.

This message has been edited. Last edited by: Teri Newton,



 
Posts: 23 | Location: Cincinnati, OH | Registered: September 25, 2013Report This Post
Virtuoso
posted Hide Post
Doc states external file as attachment OR message body. However, review the syntax. You could probably use the multi-line inline message example with an attachment if you are clever with it.

Syntax


"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
 
Posts: 1102 | Location: Toronto, Ontario | Registered: May 26, 2004Report This Post
Member
posted Hide Post
Thank you, dhagen! That link has been very useful. I can think of many uses for EX EDAPUT.

I could not think of a clever way to use the multi-line message and the clock was ticking. My final solution was to send a hyperlink to the spreadsheet in the message body.
 
Posts: 23 | Location: Cincinnati, OH | Registered: September 25, 2013Report This Post
Virtuoso
posted Hide Post
I was thinking something more like this:

FILEDEF TOUT DISK tout.ftm
TABLE FILE IBISAMP/CAR 
PRINT MODEL BY COUNTRY BY CAR 
ON TABLE HOLD AS TOUT FORMAT WP
END
-RUN
-SET &BM = &LINES;
 
FILEDEF TOUT1 DISK tout1.htm
TABLE FILE IBISAMP/CAR 
PRINT MODEL BY COUNTRY BY CAR 
ON TABLE HOLD AS THTML FORMAT HTML
END
-RUN

EX -LINES *  EDAMAIL
TOADDR=dhagen@focalpoint.com, 
SUBJECT=This is a Subject, 
FLAGS=A, 
FILETYPE=HTML, 
FILENAME=thtml.htm, 
MESSAGE=
-REPEAT :EL FOR &I FROM 1 TO &BM;
-READ TOUT &L.A40.
&L
-:EL
EDAMAIL*
-RUN  


You would have to work on the -READ to verify the size, but that should be easy to figure out.


"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
 
Posts: 1102 | Location: Toronto, Ontario | Registered: May 26, 2004Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Using EDAMAIL to send message with an attachment

Copyright © 1996-2020 Information Builders