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] How to send a multipart/mixed email from a fex?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] How to send a multipart/mixed email from a fex?
 Login/Join
 
Platinum Member
posted
Hi All,

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
Jim

This message has been edited. Last edited by: Kerry,


WebFocus 8.201M, Windows, App Studio
 
Posts: 227 | Location: Lincoln Nebraska | Registered: August 12, 2008Report This Post
Master
posted Hide Post
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.


------------------------------------
WF Environment:
------------------------------------
Server/Client, ReportCaster, Dev Studio: 7.6.11
Resource Analyzer, Resource Governor, Library, Maintain, InfoAssist
OS: Windows Server 2003
Application/Web Server: Tomcat 5.5.25
Java: JDK 1.6.0_03
Authentication: LDAP, MRREALM Driver
Output: PDF, EXL2K, HTM

------------------------------------
Databases:
------------------------------------
Oracle 10g
DB2 (AS/400)
MSSQL Server 2005
Access/FoxPro
 
Posts: 561 | Registered: February 03, 2010Report This Post
Expert
posted Hide Post
We are on Unix, and have been using mailx.

Perhaps there is an equivalent in Windows.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Platinum Member
posted Hide Post
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, 2008Report This Post
Master
posted Hide Post
This is as close as you'll get: http://forums.informationbuild...1057331/m/2207017106

- ABT


------------------------------------
WF Environment:
------------------------------------
Server/Client, ReportCaster, Dev Studio: 7.6.11
Resource Analyzer, Resource Governor, Library, Maintain, InfoAssist
OS: Windows Server 2003
Application/Web Server: Tomcat 5.5.25
Java: JDK 1.6.0_03
Authentication: LDAP, MRREALM Driver
Output: PDF, EXL2K, HTM

------------------------------------
Databases:
------------------------------------
Oracle 10g
DB2 (AS/400)
MSSQL Server 2005
Access/FoxPro
 
Posts: 561 | Registered: February 03, 2010Report This Post
Expert
posted Hide Post
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


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report 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] How to send a multipart/mixed email from a fex?

Copyright © 1996-2020 Information Builders