US and Worldwide: +1 (866) 660-7555
Results 1 to 6 of 6

Thread: Customizing Emails Sent Via Pentaho

  1. #1
    Join Date
    Jun 2010
    Posts
    172

    Default Customizing Emails Sent Via Pentaho

    Hi,

    I am scheduling reports and sending them in email as xsl attachment. While subscribing I've been given to enter the email subject as 'Report Name'. But in the email I also get the following message "This message was automatically generated by a subscription from the Pentaho BI server."

    I want to customize the email content..

    I am using Biserver 3.6

    Please can anyone help.
    Thanks & Regards


  2. #2

    Default

    Best to setup reports sent by email using xactions if you want customised email bodies.

    There is an example under the bi-developers solution folder.
    Join ##Pentaho @ irc.freenode.net and start contributing!

    My blog: http://www.prashantraju.com/
    One guide to rule them all: Pentaho BI Server 3.6.0 with Microsoft SQL Server, MySQL, Oracle and PostgreSQL

  3. #3
    Join Date
    Jun 2010
    Posts
    172

    Default

    Hi,

    I have xactions for that, and it works fine...

    But that wont be easy for non-technical users, who is used to the Pentaho scheduler interface. For them to mention the to, subject, attachments and all will be confusing. And secondly I can't share the source files!!!

    I am currently working on this.. and shall post the solution if anyone needs it..

    That's why till than, I want to know how I can customize the email contents..

    BTW, which example in bi-developers solution folder are you referring to?
    Thanks & Regards


  4. #4
    Join Date
    Jun 2010
    Posts
    172

    Default

    Please can anyone help me with this...???
    Thanks & Regards


  5. #5
    Join Date
    Jul 2009
    Posts
    239

    Default

    You edit a jar file. For 3.6.0, grab the pentaho-bi-platform-repository-3.6.0-GA.jar file in biserver-ee/tomcat/webapps/pentaho/WEB-INF/lib, explode it, and edit the org/pentaho/platform/repository/messages/messages.properties file. Change the line where it says:

    SubscriptionExecute.EMAIL_BODY_MESSAGE=This message was automatically generated by a subscription from the Pentaho BI server.
    to what you want. Re-bundle the jar file and put it back. Stop and restart Pentaho, and all subsequent emails will have your customized message.

  6. #6

    Default

    Hi,

    Is possible put in the SubscriptionExecute.EMAIL_BODY_MESSAGE, messages customizables(with variables)

    Thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •