Smart Text Problem

Has anyone seen a problem with smart text being cut off before the end of the message. Basically the first part of the message looks fine then the second half just seems to be missing. I am running jes2005Q4 with all the latest patches and T patches as of 10/27. Does messaging even support the smart text format?

bingo
SMTP is RFC limited to lines of 1000 characters. If a client package is sending longer lines, that client package needs to be fixed.
You can have the MTA "wrap" those lines, if you like. Add the keyword, "wrapsmtplonglines " doc, here:
http://docs.sun.com/app/docs/doc/819-2651/6n4u5ce7p?a=view

Similar Messages

  • CS5 hangs with smart text reflow during scripting

    Hello,
    I have a batch script that opens each input file in a folder one after another and saves them as indd and pdf.
    Now I have run across a problem.
    The script opens the input document (a special xml format for our plugin, this opens one InDesign template and places some content into a specific text frame), then run preflight to check if there are overflows etc. and then saves the content to indd and pdf.
    The input template has smart text reflow enabled, with adding new pages at the end of the document and deleting empty pages because I do not know how much content will be placed.
    I have some strange issues:
    In ID CS4, the script runs fine, but some times I got preflight errors for some documents (different ones on each run). If I open the documents afterwards, it seems the smart text reflow did not run before the script saved the indd (and so preflight found an text overflow).
    However in CS5, InDesign hangs at some time during the script - windows task manager says it is not responding. This happens at a random file (not the same each time), the first ones before came out as expected.
    Because of the preflight issues in CS4 I have made a test and created a new template with disabled smart text reflow and already added the maximum number of pages for my content. Now the script runs fine in CS5 (without hanging). But this way I have emtpy pages I do not want.
    My assumption is, that the smart text reflow does run some sort of asyncronous and gets in the way of saving/exporting to pdf the file. A "$.sleep(5000);" after opening/placing does not help either.
    Is there any way in scripting to force the smart text reflow or to wait for it until it is finished?
    Below is the relevant part of the script.
    Has anybody a solution or workaround?
    Best regards,
    Ingo
    // process documents
    for(var i = 0; i < alldocs.length; i++ ){
      try{
        // Opens document
        // this is a format that triggers our plugin which opens a specific indt-template and places the content
        var currentDocument = app.open( alldocs[i],true);
        // try to force document to be really ready - TODO: is there a better/working way? Some way to wait for smart text reflow?
        currentDocument.recompose();
        //$.sleep(5000); //Fallback - sleep for a reasonable time to let the document be opened - does not help either
        // process the document with the selected profile
        var process = app.preflightProcesses.add(currentDocument, Settings.preflightProfile);
        process.waitForProcess();
        // get the results
        var preflightResults = process.aggregatedResults;
        // each report is in the [2]-Array. First condition prevents NullPointer-Errors
        if((preflightResults.length > 0) && (preflightResults[2].length>0)){
          logLine(alldocs[i].name + ': Preflight problems');
        // save as InDesign
        var indesignFile = new File(Settings.outputDir.fullName+'/'+alldocs[i].name.replace(RegExp( '\.[^\.]{1,4}$' ), '.indd' ));
        currentDocument.save( indesignFile );
        // Export as PDF
        var pdfFile = new File(Settings.outputDir.fullName+ '/'+alldocs[i].name.replace(RegExp( '\.[^\.]{1,4}$' ), '.pdf' ));
        currentDocument.exportFile(ExportFormat.pdfType, pdfFile , false);
        currentDocument.close();
      catch(err){
        // if there was a problem, note filename to display later
        logLine( alldocs[i].name + ': Errormessage was "' + err.description + '"');

    Well.. it works. It's a ugly cludge, but at least it works. I'm posting a snippet of code, because i'we seen a lot of threads on the same subject, and maby someone else will find it usefull.
    // save old recompose and set new one
          var myOldSmartText = app.activeDocument.textPreferences.smartTextReflow;
          app.activeDocument.textPreferences.smartTextReflow = true;
          app.activeDocument.textPreferences.addPages = AddPageOptions.END_OF_STORY;
          app.activeDocument.textPreferences.deleteEmptyPages = true;
          //find docType headers and apply keep
          app.findTextPreferences = app.changeTextPreferences = NothingEnum.NOTHING;
          app.findTextPreferences.findWhat = "<docType:TaggedRTF>";
          app.changeTextPreferences.startParagraph = StartParagraph.NEXT_ODD_PAGE;
          myStory.changeText();
          //fix tables
          if (myStory.tables.length) {
    /* long code to process tables, not interesting
         //process style rules
    /* long code to preformat text, add/remove space after headings, lists, blocks etc.
          // save old preflight options, add new ones
          var oldPreflight = app.activeDocument.preflightOptions.properties;
          app.activeDocument.preflightOptions.preflightOff = false;
         // wait a maximum of 40 second for the preflight process. Before it runs, the (not so)Smart  Text Reflow should kick into action.
          app.activeDocument.activeProcess.waitForProcess(40);
          //stop preflight for a bit more performance?
          app.activeDocument.preflightOptions.preflightOff = true;
          //now check if story overflows? (maby you have a very large cell in a table? some wierd keep options? bad things happen
    Can i mark my own answer as correct?

  • Adding pages and Text Frames to emulate the behaviour of "Smart Text Reflow"

    I am creating a large number of tables in a document.  If I have Smart Text reflow turned on, my script does not work properly.  I have the start of the processing:
    1. Add a new table
    2. If the last page text frame overflows then Add a new page
    With smartTextReflow turned off, I want to ensure that new text frames that match the primary text frames from the master page.  It has to be able to handle getting the parameters from the left/right page text frame.

    I have been able to solve my problem.  I was really overthinking things!!!
    Since I have designated the text frames on the master pages as primary text frames, when creating a new page, a text frame is created automatically. So the problem is then just link the previous text frame to the text frame that was created when adding the page.
    TableAutomation.prototype.AddPage = function() {
         var previousTextFrame = app.activeDocument.pages[-2].textFrames[0];
         var np = app.activeDocument.pages.add();
         var textFrame = np.textFrames[0];
         previousTextFrame.nextTextFrame = textFrame;
    The cost of the above code was about 5 hours of banging my head against the wall

  • My iPhone 5 won't display smart text options.

    My iPhone 5 won't display smart text. It did when I initially downloaded the new OS, now those options don't appear at all. Did I click something to make them disappear?
    I went into Settings to see if there was a component of it within Messages. I don't see anything.
    Thoughts please.....
    Thanks much
    Ginger

    Awwww......that's it....the dash! I tapped it. Tried to drag it up/down and it didn't move. Now I swiped and it's back!
    So I need to remember to drag up/down and now swipe.....
    Thanks much!
    Ginger

  • Smart Playlist Problems (Since Ver 5)

    I have come across a problem, which I believe started when I installed Version 5.
    I have many SMART playlists set up that are really for my iPod usage. They are set to pick certain tracks that have not been heard in xxx amount of days, and usually set to a certain number of songs, or a particular amount of time.
    The ones I use most often:
    SLEEP MUSIC - a playlist of random songs not played in the last 5 days limited to 90 minutes. I listen to this when I go to bed.
    WORK MUSIC - a playlist of 100 random songs not played in the last 5 days. I play this through my inMotion dock at work.
    Previously, all the smart playlists worked fine. When the songs were played, the playlist would update on the iPod and the next time I would enter that playlist on the iPod, the tracks would be different.
    It still works this way as long as I don't connect my iPod to my PC and sync with iTunes. If I do, it always resets the iPod playlists to the songs that appear in the iTunes library. I rarely use these playlists on the PC, so they almost always stay the same.
    It seems like in previous versions, iPod would update the iTunes library and the smart playlists would also be updated in iTunes, so that the iPod versions of the playlists would continue to be random. But now, if the playlist is different on the iPod, it will not transfer over to iTunes. Instead, the iTunes playlist is copied back over to my iPod, and I keep getting the same playlists over and over.
    This is a major annoyance, as I usually sync my iPod every day since I am constantly updating my library.
    I've also noticed that when I synch my iPod, it is copying over songs that are already there, and it always seems to be copying songs I recently played in the iTunes library.
    I know that if the tag info is changed, or I add album art to a track, it will be copied over to the iPod again, but I am not making any changes to these tracks, just playing them in iTunes. I don't know if this is related to the smart playlist problem or not.
    I thought about unchecking LIVE UPDATE on those playlists that cause a problem, but that doesn't work, as now I'd ALWAYS have the same playlist.
    So, my next thought is to use the "Only update selected playlists" option in the preferences to exclude those playlists that have this problem. If I do this, will new music I add still be copied over to my iPod?
    Has anyone else encountered these problems?
    FYI - I have not updated to the latest iPod update because of smart playlist problems people were having. I have version 1.1 on my 60GB photo. Would updating perhaps fix this problem?
    My bottom-line thought on this is that iTunes updates the iPod, but the iPod no longer updates the iTunes library as it previously did. My reasons for thinking this are 1) The playlist problems I am having as stated above, and 2) I notice when I change the ratings on the iPod, they are not changed in iTunes. I am going to do a test and change the rating on a track on the iPod, then I will synch my iPod to see if the track is updated in iTunes, or the file is copied back to the iPod with the old rating.

    Reagrding tracks being copied over again, I've seen another post in iPod Lounge where that person indicated the same thing. He stated that the play count was not being updated between the iPod and iTunes, but that the tracks were being copied over again. This sounds like a good explanation of this problem.
    I have now noticed many of the tracks which I know I have played in the past show a "0" play count. Are the play counts kept in the iTunes library files (iTunes.xml and iTunes.itl)?
    I always save the library files, so that when I reinstall iTunes I can just copy these 2 files back to their proper locations and I have my entire library intact - playlists and all. My music library is on a different drive.
    Anyway, I KNOW I have played these tracks on the iPod, and yet they show unplayed on iTunes. This is probably another symptom of the re-copying tracks problem.

  • Lines around type and other type/text problems in Dreamweaver CS3

    Dear Dreamweaver forum:
    Good news/bad news,
    First the good news…
    My thanks to a forum member by the name of Mylenium. With Mylenium's advice I have improved my halo problem by including a black background when I save type in Illustrator CS3 as part of importing it into Dreamweaver CS3.
    However, the bad news, is that I’m still having type and text problems.
    Problem area 1
    Now, in Dreamweaver, I’m getting lines appearing around the type.
    I am dragging and dropping the .gif type file into a Dreamweaver Div Tag.
    How do I get rid of the lines around the type so that they do not show up in the Safari browser?
    (Please see below)
    Problem area 2
    I cannot drag and drop text from a Word .doc file into a Dreamweaver div tag.
    I also cannot copy and paste Word .doc text into a div tag.
    How do I include text on my webpage without having to manually type it in?
    (Please see below)
    Any help would be appreciated. Thanks! 
    From within Dreamweaver CS3, how do I place text? Dragging and droppign the file does not work.
    This is screenshot of what I see so far when I use Safari to test what I have made so far in Dreamweaver CS3.
    I get lines around type.........not usually a good thing.........How do I fix it?
    The way I created the portfolio type in IllustratorCS3 using the File > Save for Web and Devices. I then imported the resulting .gif file so that it was within my root folder within the Files panel within Dreamweaver CS3.
    Am I doing this right?

    Hi
    The problems you are experiencing with the image text, (why are you using image text, these days?) is probably cause by the image having a border when created in illustrator, or the image size being set incorrectly.
    As for the word text if you are using windows, see http://livedocs.adobe.com/en_US/Dreamweaver/9.0/help.html?content=WSc78c5058ca073340dcda91 10b1f693f21-7ce6.html.
    On the mac it is a little more complex, save your word doc as html, then apply the 'clean up word html files', (see - http://livedocs.adobe.com/en_US/Dreamweaver/9.0/help.html?content=WSc78c5058ca073340dcda91 10b1f693f21-7ef5.html) copy the relevant text and mark-up from the word html file, and paste into your html document in the required position.
    PZ
    www.pziecina.com

  • Subsitution Tag instead of Smart Text (2 issues)

    In Oracle Portal:
    1. I want to use the Current Date feature (available as a Smart text) but since I am using an HTML template, would like to use a Substitution tag for it. But couldn't find #CURRENTDATE# !
    I have used Oracle PL/SQL code to overcome this issue, but since our site is translated to multiple languages, I am hoping the Current Date does a better job of Internationalizing the date translations.
    2. When I use the Substituion Tag for Edit within an HTML template and make a Page use this, the Edit tag appears on the page irrespective of whether the user has permissions to edit the page or not. Although clicking on Edit does not allow unauthorized users to edit any region of the page, it is still annoying that it should exist.
    If I were to initially use a Portal Template for the page and make it use the HTML template as a Skin, the Edit tag disappears correctly.
    Is this a bug in Oracle Portal.
    We are using 10.1.2 with all patches that upgrage it to 10.1.4.
    Any help in this regard would be greatly appreciated.

    I think I might have the answer to #2 for you. According to Oracle Metalink "Note:368720.1 - When ILS is Enabled the Edit Smartlink is visible to Users that are not entitled to see it", that is the expected behavior whether you are using the "edit" substitution tags or the "edit" smartlink on a page when the page has item-level access enabled. I can understand why that is the behavior since an end user may have access to manage/edit just one item on a page or just one tabbed region on a page but not the entire page and they'll need a way to put the page into edit mode in order to edit their item(s). If a user has nothing to edit on a page, then they won't be able to do anything in edit mode anyway.

  • Smart Form problem with address layout

    Hello everyone,
    I need your help please for a smart form problem. We need the address layout for great britain with street1, street2 etc. but currently street2 is alligned before street1.
    We are using the FM ADDRESS_INTO_PRINTFORM (SAP standard address node) and according to the documenation the layout for GB is different as we see it currently.
    We have checked the sold-to and all contact persons, they have as country GB and language EN maintained.
    In customizing for address screen layout there is nothing chosen (tested to set up Europe, but did not change anything).
    For the customizing 'specify my countries...' we have maintained GB as country with the address layout key 006, vehicle country key GB and language key EN.
    For the described setting shouldn't there be designed the address in our smart forms according to 006? Anyhting in customizing we missed?
    Thanks a lot for your answers.
    Torsten

    Hi,
    Try to use line priority of FM, below is a brief of documentation. You can read it more in FM documentation:
    Control Parameters
    See also the parameter documentation.
    ADDRESS_TYPE - Address type (from 3.0C)
    There are three types of address:
    Address type '1': addresses of firms or organizations; the address
    structure which is used in most SAP applications as 'Address'.
    Address type '2': address of a person
    Address type '3': work address, usually the address of a contact person
    in a company
    The default value SPACE for the address type is handled like type '1',
    and is needed for the upwards-compatibility of the function module.
    Which parameters are used for which address type is explained in the
    ADDRESS_TYPE parameter documentation.
    The three character "address layout key" of the recipient country (LAND1) controls which of the available country-specific routines is used to format addresses for the country in question. This key is stored in field T005-ADDRS and is entered in Customizing under Global settings -> Set countries -> Define countries, on the detail screen under "Address layout key".
    Keys for customer routines in the SAP enhancement SZAD0001 can be
    maintained via the transaction SM30 (extended table maintenance),table
    name T005A, in the customer name range, and be assigned in country customizing.
    The address attributes are passed in the structures ADDRESS1 (type 1), ADDRESS2 (type 2), ADDRESS3 (type 3) or ADRSWA_IN (type SPACE).
    NUMBER_OF_LINES (ADRSWA_IN-ANZZL)
    The number of lines available for the address layout. If the number of
    lines is not sufficient for the complete layout of an address, then
    lines are consecutively suppressed according to the rules of the country in question. Use the parameter LINE_PRIORITY (ADRSWA_IN-PRIOR) overrules the standard sequence in which the output lines are to be suppressed.
    LINE_PRIORITY (ADRSWA_IN-PRIOR)
    If not equal to SPACE, this field overwrites the standard sequence in
    which the lines are suppressed if the available number of lines ANZZL is
    insufficient.
    The standard sequence is defined as follows:
    Type 1:   'AP43HRT7I86LC2BS5O'       (GB:  'APRT4327I86CBS5LO')
    Type 2:   'APHRT7I86LCBS5O'          (GB:  'PRT7I86CBS5LO')
    Type 3:   'APF43HR7I86TLC2BSND5O'    (GB:  'APRT4327I86CBS5LNDIO')
    where (if they occupy a line of their own):
    A = Title
    P = Mandatory empty line 1
    F = Function of the contact person in the company
    4 = Name 4
    3 = Name 3
    H = Different city
    R = Region
    T = District
    L = Name of country
    C = Postal code
    T = District
    7 = Street 3 (field STR_SUPPL2)
    I = Street 5 (field LOCATION)
    8 = Street 4 (field STR_SUPPL3)
    6 = Street 2 (field STR_SUPPL1)
    L = Country
    C = Postal code
    2 = Name 2
    B = PO Box
    S = Street or PO Box
    5 = c/o name
    N = Name (and title) of a person
    D = Department
    O = City
    Which of these attributes are available for maintenance can vary. All
    fields exist in Business Address Services.
    STREET_HAS_PRIORITY (ADRSWA_IN-WAREN)
    'X': Street has priority over PO Box (delivery address for example)
    ' ': PO Box has priority over street. This is the default value.
    regards,

  • Smart text flow doesn't work in scripting

    This is getting to be really frusting. I have enabled smart text flow, it only works if I open the app and modify a textframe. It never works when I run it through a script????? How do I activate this stupid feature using a script?

    Hi,
    This works (for me):
    var document = app.activeDocument;
    var textFrame = document.textFrames.add();
    var page = document.pages.add();
    var nextTextFrame = page.textFrames.add();
    document.textPreferences.smartTextReflow = true;
    document.textPreferences.limitToMasterTextFrames = false;
    document.textPreferences.deleteEmptyPages = true;
    document.textPreferences.addPages = AddPageOptions.END_OF_DOCUMENT;
    textFrame.geometricBounds = [10, 10, 280, 200];
    nextTextFrame.geometricBounds = [10, 10, 280, 200];
    nextTextFrame.previousTextFrame = textFrame;
    for(var index = 0; index < 100; index++)
        textFrame.contents += "Hello InDesign World Hello InDesign World Hello InDesign World Hello InDesign World Hello InDesign World Hello InDesign World Hello InDesign World ";

  • Date format in current date (portal smart text)

    Where can I edit colour, format of current date (portal smart text)?

    Hi,
    This might be a caching issue .. What version of portal are you using..
    Can you also change the caching properties for the page so that its never cached..
    Thanks,
    Anu

  • How to Embed a Text Frame Within a Text Frame with Smart Text Reflow

    This is driving me nuts, and I've wasted hours searching exhaustively but can't seem to find the answer.
    I've been working with this indesign file and cleaning it up really well.  I now have all the text flowing with smart text reflow.  There are two parts in the book that have columns of information, or tables.  The way it was originally done was having a text box placed inside the text box.  But unfortunately, whenever you add pages before or after, the text box won't follow with the text box it is inside.  I have tried grouping the two text boxes together, but this doesn't seem to work with Smart Text Reflow (since every page is based on the primary master). How do you embed a text frame inside another text frame that is based off the primary master?  I guess it would be like using the text frame as an object. 
    I included an image to help my explanation.
    I even tried adding columns and then spannign the header part across, but this still doesn't flow with the rest of the text.

    ANchor it into the other text fram, look in the help file. Keyword = Anchored Objects.

  • Workaround for the Fade/Appear blocky text problem in IE

    Just wanted to share with folks a workaround for the IE
    "blocky text" problem that you see when using Fade effects like the
    one used in this example:
    http://labs.adobe.com/technologies/spry/samples/data_region/DetailRegionEffectsSample.html
    It turns out if you set the 'background' CSS property on the
    element you are fading, that IE properly renders the text. So to
    fix the effects sample above, all you would have to do is modify
    this CSS rule in the file to place a background color on the
    description region to get things to look good in IE:
    #description {
    opacity: 0;
    filter: alpha(opacity=0);
    background: white;
    So if folks have been avoiding the use of effects because it
    makes things look terrible in IE, you now have a workaround.
    --== Kin ==--

    I was using spry's AppearFade effect to transition between
    "slides" in what equates to a viewstack that I created.
    Then I noticed that it would take bold text in IE and make it
    look all smudgy or blurry.
    Well, after working on it for a while, I got to thinking,
    "This problem is specific to text rendered in MicroSofts
    browser"... "Hmmm, I wonder".
    So, I tried using this style rule: [ font-family:"MS Sans
    Serif",Arial, Geneva, sans-serif; ].
    Lo and behold, feed the stupid MS browser an MS font and it
    does not blur the text.
    I just wanted to get this our there. Because someone might
    want to solve this in a way where they don't have to set a
    background color...

  • How to reduce the font size - "Portal Smart Text - CURRENT USER"

    Hi Gurus,
    I am showing the user name on the top left corner of our portal page. The default font size is little big(16 point size). How can I reduce the size to probably 10. I am using the "Built-In Navigation Item Types - Portal Smart Text - CURRENT USER" which shows the name of the current user. Please post a reply if you have any idea about this.
    Thanks
    Raj
    --------

    Put the item in its own region, assign a different style to the region, and set the font size for the Display Name attribute in the region's style.
    Or, you can use a PL/SQL item with this code:
    begin
    htp.p('<font size="-3">
    || portal.wwctx_api.get_user
    || '</font>');
    end;
    Regards,
    Jerry
    PortalPM

  • E6 Big Texting Problem

    Can anybody help me out with this problem?
    My E6 has developed a texting problem, whenever I send a text none of the text appears in the conversation speech bubble, just the date or time when it was sent and the character "0". Does anyone know why?
    Thanks
    Solved!
    Go to Solution.
    Attachments:
    Text.jpg ‏1560 KB

    Would suggest that you backup E6-00 using Nokia Suite, then reset device to "Out of box" state by keying in *#7370# followed by 12345 (default Nokia lock code unless altered by user). Perhaps restore contacts only and try out texting/conversations before restoring device any further.
    Happy to have helped forum in a small way with a Support Ratio = 37.0

  • Portal smart text and privileges

    Situation in Portal r2
    I created a page template with navigation page in Shared objects page group. Navigation page contains Portal Smart Text such as Current User and Current Date. Then I created a new page group from page template. So then I wanted other user to use the root page of the new page group as his homepage, therefore I granted this user privilege to view the root page, page tamplate and navigation page (without publishing them to public). If a user has only privilege to view the root page this message appeared instead Current User and Current Date: "Error: ORA-06503: PL/SQL: Function returned without value". Only way how to avoid this situation I found is to grant the user at least Mange with approval.
    Mila

    The "display name" colour needed changing.

Maybe you are looking for