Change subject of notification email

Hi experts,
I want to change the subject of notofication emails. Unfortunatelly there is no entry in the xml templates. I guess it is hardcoded in any jar. Does anyone know the jar which contains the java class / or jsp which I need to change ?
Regards
Flo

Hi,
seems to me "nearly" impossible (everything can be done):
I have found in NotificationService implementation sending of the notifications:
for(; recipientIterator.hasNext(); doSend(recipient, channel, notification.getDescription(recipient.getLocale()), from, notification.getContent(recipient, channel, m_Properties)))
what makes me think, that the subject is:
notification.getDescription(recipient.getLocale())
Now for the standard subscription this notification is used com.sapportals.wcm.repository.service.subscription.wcm.SubscriptionNotification, where the getDescription method does:
return super.getDescription(locale, m_Subscription.getName());
super is AbstractNotification:
return m_Res.getString("Notification." + m_ID, locale, obj1);
m_Res is ResourceBundle used I have written before.
So you can see, that the name of the subscription is given as object to the resourceBundle - if you could change the implementation of the getDescription of the com.sapportals.wcm.repository.service.subscription.wcm.SubscriptionNotification to something like this:
return super.getDescription(locale, resource.getDisplayName(true));
you would have the name of the resource in the subject line of the email.
But this seems to me a bit hardcore solution.
Romano

Similar Messages

  • Changing Subject while testing Email replies

    This is just a test of the change in the email notifications where they, thankfully, removed unique identifiers from the Subject header.
    In this test, I will:
    Create the original post in the Web forum.
    Reply via email.
    Change the subject in the Web forum.
    Reply to that changed subject via the Web forum.
    Reply to that changed subject via email.
    Reply to the last email reply via the Web forum.
    In these tests, Mark_A_Boyd is the Web forum user and Mark A. Boyd is the email user.
    Mark_A_Boyd

    Don't know why I didn't think of this earlier.
    7. Change the subject in an email reply.
    This email reply has the following subject:
    New Subject from Email [WAS: Changing Subject while testing
    Email replies]
    Mark A. Boyd
    Keep-On-Learnin'
    Mark_A_Boyd wrote the following:
    This is just a test of the change in the email notifications where they, thankfully, removed unique identifiers from the Subject header.
    In this test, I will:
    1. Create the original post in the Web forum.
    2. Reply via email.
    3. Change the subject in the Web forum.
    4. Reply to that changed subject via the Web forum.
    5. Reply to that changed subject via email.
    6. Reply to the last email reply via the Web forum.
    In these tests, Mark_A_Boyd is the Web forum user and Mark A. Boyd is the email user.

  • Change subject line of Email sent through "spool recipient functionality".

    A batch job creates a spool, which is send through Email using spool recipient functionality. The subject line of the Email is as follows
    "Job<job name>, Step <step no.>".
    Is it possible to change the subject line of the Email?
    Any pointers on this would be highly appreciated.

    check the program name for job.
    If the program is Custom program(starting with Z or Y)  then you can easily change subject line of email.
    If it is standard program then we have to look for alter path.
    Edited by: subas  Bose on Feb 18, 2010 6:54 PM
    Edited by: subas  Bose on Feb 18, 2010 6:55 PM

  • Change Subject of subscription email

    Hello All,
    we wanted to customize the subscription/notficiation emails and were able to change almost all the required field.
    One field we were not able to change was the "Subject" line.
    Is there a way to change the subject line of a notification email?
    Please help.
    Cheers
    Sunny

    Hi,
    The subscription notifications are generated using an XML / XSL transformation
    utilizing some additional parameter input. The XSL stylesheet consists of 3 main
    parts: the parameter block, the message structure, and the parameter rendering
    library. It make sense to first describe the XSL in order to understand the XML.
    It is possible to do lots of customization by only changing the XML (and resource
    bundles in EP6).
    Email Subject in Subscription Notification - customize wording?
    Customized Subscription Massage
    Patricio.

  • Change Subject Line of Email!!!

    Hi all,
               Can anyone please tell me if it is possible to change the subject line of email.
    IF it is possible then can you please send me a code snippet as to how to change it from a BAdi.
    Kindly reply immediately as this is bit urgent.
    Regards,
    Vijay

    Hi,
    Where do you want to change?
    Regards,
    Raj

  • Change subject on BIP Email

    Hi all,
    did anyone of you know how to change the subject of the Email which is send by BIP? The default is similar to "FW: EnterpriseOne Report Definition Output". I also want to know if it will be possible to add a note to the Email.
    Many thanks
    Bernd

    Hi Bernd,
    If you are using the EnterpriseOne embedded version of BI Publisher, then you can change the email subject and message body, but only at an instance level.
    The text for both items is stored as glossary text for data dictionary error message items 951S (subject) and 951T (attachment text).
    You need to make the data dictionary changes in the environment that is defined as the Default environment in the JDE.INI file and you should also stop and start services on the Enterprise server as the XML Publisher kernel job will need to be restarted to pick up the changes.
    Regards,
    David

  • Change subject line of email when submitting a form using Acrobat X Pro

    I have created an interactive PDF in Acrobat X PRO with a submit a form button. Everything works fine all the way through distribution except that I need the Subject Line of the submitted form when attached to an email to read "Form Returned: File Name" rather than "Submitting Completed Form". All of my past forms had the "Form Returned: File Name" subject line automatically...did something change and is it possible to change the subject line? Any help would be much appreciated.

    Thank you for your reply. I had actually come across that form on multiple occasions during my research. Looks like I need the doc.mailDoc() function, but there isn't an example of the code. Looking in other places I have tried a few things unsuccessfully. I did find this, which I thought would be even better than Form Returned: File Name in the subject line...actually taking information from fields in the form:
    // Build the subject line text from several fields form fields
    var subj_text = getField("text1").valueAsString;
    subj_text += getField("text2").valueAsString;
    subj_text += getField("text3").valueAsString;
    // Send the email
    mailDoc({
        cTo: "[email protected]",
        cSubject: subj_text,
        cMsg: "Body of email message goes here."
    I entered the script(adding in my own information for the email, body and subject line) by adding an action to the button to run the java script but it did not work. Any ideas??

  • Mail: change subject of received email?

    In Mail 4.5, is it possible to change the Subject line of received email in the Inbox?

    Re:  "feature requests should be addressed to Apple": That would probbbly be easier for benfrommo if Americans were even HALF as tolerant of foreigners struggling to express themselves in English as they are of Americans struggling to express themselves in their native language.
    Re: This ongoing problem with Mail:  Returning to the thread topic, the inability to edit the subject line of incoming e-mail is a complaint that has been frequently voiced in the Apple's "support" forums and other Mac-centric sites since Mail 1.0 was released in 2003.
    I've been using Eudora since OS 7, way back when you actually had to buy it. I tried Mail when it first came out, but not being able to edit the subject line was a deal-breaker for me, so I went back to Eudora. (Apple's "version 1" software is frequently not ready for prime time.  Keynote 1.x was horrible!  When Keynote 2 came out, Apple should have sent a free update to all version 1 purchasers, along with an apology for making them put up with such merda [another Italian word]. But I digress...)
    Yesterday I  launched the latest version of Mail. You can imagine my surprise to discover that I could STILL not edit the subject line, as almost every other mail program allows. So here we are, 9 years and 4 major versions after Mail was first released (and the complaints began), and the problem has yet to be resolved. If Apple had the slightest inclination to address this "feature request," they would have done so by now.

  • Change subject on RTMT email alerts

    Hello Folks,
    I have around 4 CUCM clusters namely APA, EUA, EUB and USC and i have configured the required RTMT email alerts for these cluster.
    The issue is when i get an alerts from any of the above cluster the email subject just states 'RTMT Alert - Critical service Down", in the email content i have all the details.
    Is there a way i can include my cluster name with in the email subject. Is that customization possible ?
    Thanks, Raja.

    No; however, you could change the email From address and build rules in your mailbox (e.g. different folders, different colors or categories, etc) based on that. Another option would be to use a Syslog server instead of emails (System > Enterprise Parameters) and rely on it to do the grouping/categorization for you.

  • Notification Email should be triggered when hit the Apply changes?

    Hi All,
    Am creating a request form similiar to a remedy form,when ever the user create a new request and submit the request.Notification email will be sent to the user and the admin.
    Here when the admin ppl rejects the request,a notification email triggered to the user like request has been rejected .
    I have three radio buttons in the Form
    1.Submitted(default).
    2.Rejected.
    3.Accepted.
    When the admin edit the request and select rejected radio button,and apply changes ,a notification email should be triggered to the user.
    Now i have a after submit process for edit the ,which will be triggered when ever the user hit the apply changes button and it will send notification to both user and admin.
    How to achieve the notification email that should be triggered when the admin rejects the request and submit the form???
    am using apex version 4.0
    when the Admin will select the reject radio button and hit tha apply changes then the notification email should be sent to the user!!
    Always appreciate your help!!!
    Thanks & Regards,
    Ramya.

    Ramya wrote:
    Hi Gurujothi,
    Thanks for your response!.
    I can able to send email now.Thing is i need to send an email like when the admin rejects the request.
    For eg.
    1.Admin opened the request and select the Reject radio button and clicking Applychanges button then the email notification will be sent to the user like,
    Your request has been Rejected.
    2.If the Admin selects the radio button accept radio button and clicked apply changes,start processing about the request then the Email notification will be sent to the user like ,
    Your request has been modified .Request will be notified by the admin.(Working now)
    DO i need to create two separate process for the email notification like
    one is for all the modifications that the user/admin will do in the form ,once the record is created and another process is for Rejection purpose of the Form.But only one Apply changes button is there in the Form.You don't need two page process, In one single process you can acces the page item session values using *:YOUR_ITEM_NAME* bind variable syntax or V function like this V('YOUR_ITEM_NAME')
    So in your PL/SQL code you can easily prepare the email body based on your radio group item's value
    declare
    l_body varchar2(4000);
    begin
    IF :Px_MY_RADIO_GROUP ='R' THEN
      l_body := build your conditional email body for rejected
    ELSIF  :Px_MY_RADIO_GROUP ='A' THEN
      l_body := build your conditional email body approved
    END IF;
    apex_mail.send(
            p_to       => '[email protected]',   -- change to your email address
            p_from     => '[email protected]', -- change to a real senders email address
            p_body     => l_body,
            p_subj     => 'APEX_MAIL Package - Plain Text message');
    end;
    See this http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21674/concept_ses_val.htm#HTMDB03012

  • Hard coded subject in a KM notification email

    Hello Experts,
    We are using EP 7.0.
    I am trying to modify the subscription emails for KM folders.
    I know for sure we can not change the Subject line for the notification using the xml and xsl. We have to modify the java class for it. Can you please let me know which Java class I need to modify. All I want to do is have a static text for the in the subject of the email.
    Thanks,
    Raj

    Hi,
    this option is available since SPS17. So you don't necessarily need EHP1.
    If you need special characters inside you email the email subject is kind of u201Cspecialu201D:
    u2022     The content of the email can be UTF-8 encoded and will not cause any problems
    u2022     The email subject is defined in the files named u201CSUBSCRIPTIONBUNDLED_SUBJECT_.xmlu201D
    o     The xml file has to be ANSI (US-ASCII 7-bit) encoded
    o     To support special characters you need to have the translations UTF-8 encoded
    o     So take the UTF-8 string and encode it base64 (e.g.: http://www.nowan.hu/base64encoder.aspx)
    o     Now place u201C=?UTF-8?B?u201D before the encoded string and add u201C?=u201D after the encoded string (see full example below)
    Example XML Subject: "Neue Dokumente auf Metro Link verfügbar"
    <notification>
      <title>
        <textspan>=?UTF-8?B?TmV1ZSBEb2t1bWVudGUgYXVmIE1ldHJvIExpbmsgdmVyZsO8Z2Jhcg==?=</textspan>
      </title>
    </notification>
    Edited by: Marius Quadflieg on Sep 29, 2009 9:43 AM

  • How do I add the customer's name to Workflow Notification email subject line?

    How do I add the customer's name to Workflow Notification email subject line?
    I'm expecting that I need to add a tag, but I'm not sure what the correct tag would be, I have tried a few but it just writes the tag I inserted and not the customer's name.
    Thanks

    This is something you can not add at the moment. You can change the layout a bit of workflow notifications from the system but you can not change the subjects at this time to render a system tag like that.

  • Customise Subject line of EM alert notification email

    Hi, would it be possible to customise the Subject Line of the notification email to include some in-house information? Thank you for your help.

    The easiest way (maybe the only way since I haven't found a way to modify the format of email notifications) would be to set up an "OS Command" as a notification method that would then run a script to send an email formatted with the pertinent Grid info and whatever you wish to add. The variables available to pass to an "OS Command" from Grid can be found in the online help under the " Passing Metric Severity/Policy Information" section.

  • Change of subject stated in email received and saved to folders

    Is there a way to change the subject line of email received? I save a lot of emails and when I put them into folders, sometimes the subject listed is not descriptive of the actual content that I am saving. I would like to change the subjet at that time to something more meaningfull to me.

    The only way I know to do that in Mail is by resending the message to yourself — use Redirect instead of Forward to better preserve the integrity of the original message.

  • How do you change the position of email sender so that it's on the left (sender[from], subject and date received)

    How do you change the position of email sender so that it's on the left (sender[from], subject and date received)

    In the Thread Pane where your messages are listed?
    You see that bar with the labels "From", "Subject", "Date" and so on? Well, they are buttons. You can click on them to sort your messages. You can also drag them with the mouse left and right to reposition them, and you can drag their ends to change the column widths.
    These are standard computer actions; you can do all of this in Windows Explorer ("My Computer") too.
    In Thunderbird, a right-click on any of these buttons will reveal a pop-up menu where you can select and deselect the columns to control what is shown.
    More here: http://www.ramsden.org.uk/8_How_to_sort.html

Maybe you are looking for