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 would like to be able to send a multipart email from within a fex. This would mean having text (as well as amper variable data) in the body of the email and also be able to send attachment(s) along with this same email.
I currently do this using Perl in my fexs, but, we are upgrading from 7.1.x to 7.7.x and the admins have decided Perl will not be installed on our new environment.
So.....
I am looking for alternate ways to send an email notification with or without one or more attachments.
I have been trying out the EDAMAIL option, but can only seem to get that to work with sending one piece of information (either one attachment or one inline piece of data).
I would rather be able to do this from a fex instead of using reportcaster.
If you have done anything like this, please let me know.
Thanks JimThis message has been edited. Last edited by: Kerry,
WebFocus 8.201M, Windows, App Studio
Posts: 227 | Location: Lincoln Nebraska | Registered: August 12, 2008
have you tried writing out values from one hold to DM variables and referring to them as amper vars? not exactly in line data grid with attachment, but maybe this is what you're looking for.
I would like to use EDAMAIL. If I could just include some text in the body and then attach a file, I would be good to go. Sounds pretty basic. Has anybody done this? Is there some documentation about EDAMAIL?
Thanks Jim
WebFocus 8.201M, Windows, App Studio
Posts: 227 | Location: Lincoln Nebraska | Registered: August 12, 2008
You can createa multipart email, but you will have to create the email structure yourself.
HEre is a simple way to have text as the body, and an attachment, but it relies on having UUENCODE.
FILEDEF MAILFILE DISK mailfile.txt
-RUN
-WRITE MAILFILE This is the body of the email
-WRITE MAILFILE
-WRITE MAILFILE Attached is the report.
-WRITE MAILFILE
TABLE FILE CAR
PRINT COUNTRY
ON TABLE HOLD AS MAILREPT FORMAT PDF
END
-RUN
! "C:\Program Files\GnuWin32\bin\uuencode" mailrept.pdf My_Report.PDF >> mailfile.txt
-RUN
EX EDAMAIL {email to},{email from},EDAMAIL test,,TXT,mailfile