Newline not rendered in HTML mail receiver client

Hi,
I am using JEditorPane(with HTMLEditorKit) to develop a simple mail sender client. JEditorPane is where the user types in the message. To render a new paragraph in JEditorPane, user presses enter and paragraph(newline) is inserted. The problem is that though the paragraph is inserted in JEditorPane, it doesn't show up in the receipent's mail client (which is yahoo). Do I have to use something special (above what JEditorPane uses) to insert paragraphs.
regards,
nirvan

Yet another example of wasting peoples time. You've already been asked once for a clarification of your problem. Maybe its just me but your answer tells me nothing. Then again no one else has attempt to answer the question so I'm guessing many people don't understand the question or the problem. Even if you post a SSCCE now I'm not about to waste any more time. Maybe in the future you will learn to post a SSCCE the first time.

Similar Messages

  • BCS list data not rendering as HTML

    I have a Business Data List webpart in Sharepoint Online (2013) which pulls data from a BCS List. This data contains HTML which is not rendering as HTML but the HTML text.
    I've modified the data to HTML format the data, no joy (example: < img src="/)
    I've modified the data to spit out the native html, no joy (example: <img src="/)
    I've modified the XSLT of the webpart using the Data View Properties (when editing the webpart in Sharepoint) to output the text from the list as below, which didn't work:
    <xsl:value-of select="@ArticleBody" disable-output-escaping="yes" ddwrt:nbsp-preserve="yes"/>
    and also this hasn't worked:
    <xsl:value-of select="@ArticleBody" disable-output-escaping="yes"/>
    I'm now at a loss as to how I can get the data to show with the html text being rendered as actual HTML on page

    found, the issue - there was a section further down the XSLT file that needed the disable-output-escaping adding to (below is the original section) - once updated it worked like a charm - thanks
    <xsl:template name="_LFtoBRloop">
        <xsl:param name="input" />
        <xsl:variable name="beforeText" select="substring-before($input, '&#xA;')" />
        <xsl:choose>
          <xsl:when test="string-length($beforeText) = 0 and substring($input, 1, 1) != '&#xA;'">
            <xsl:value-of select="$input" />
          </xsl:when>
          <xsl:otherwise>
            <xsl:value-of select="$beforeText" />
            <br />
            <xsl:call-template name="_LFtoBRloop">
              <xsl:with-param name="input" select="substring($input, string-length($beforeText)+2)" />
            </xsl:call-template>
          </xsl:otherwise>
        </xsl:choose>
      </xsl:template>

  • HTML mail preview not rendering correctly on EAS mobile clients

    I'm having trouble pinning down an issue I'm having with the previews of e-mails that contain HTML on ActiveSync clients specifically iOS Mail clients. Clients are seeing HTML code in the message body previews...
    Example 1: "[cid:google][cid:profilephoto] Hello..."
    Example 2: "[https://statici.icloud.com/emailimages/v4/common/[email protected]] Dear User..."
    When the user opens the message, everything is rendered fine (the previews remain the same though). I don't believe it's anything wrong on the client. The same messages delivered through Gmail on the client are previewed like this:
    Example 1: "Hello User. You have successfully reset your password..."
    Example 2: "Dear User. The following information for your Apple ID..."
    I've tested with exchange servers outside the organization and the previews are rendered correctly (like Gmail). I don't know what version of Exchange the servers were running, but it leads me to believe this is not an outstanding bug between iOS
    and Exchange; it's something specific to my server.
    The issue is present for all users. I'm running Exchange Server 2007 SP3 and the client I'm experiencing the issue on is iOS 8.1.2.
    Thanks!

    Hi 
    Outlook 2007 or newer use Microsoft Word for their HTML engine.
    You can refer this page http://www.campaignmonitor.com/css/ shows
    many things that do not work in different clients.I think Someone needs to re-code
    the HTML form to make it work in the current versions of Outlook. You can try formatting with text and HTML and see the results.
    Remember to mark as helpful if you find my contribution useful or as an answer if it does answer your question.That will encourage me - and others - to take time out to help you Check out my latest blog posts on http://exchangequery.com Thanks Sathish
    (MVP)

  • SM37 spool output not matched with the mail received

    Hi All
    I have a background job which run on daily basis. After the job is finished successfully the spool is sent to client in the form of the html page.
    The mail received by client and the actual spool in R3 are not matching.
    Some of the text is missing at the end of the lines. Say like a row having 300 characters in the actual spool R3, 280 characters are only showing in the received mail of client, last 20 characters are missing.
    How to check the settings of Page width in SAP R3.
    Should i check the settings in the Mail configuration.
    Please advise
    Regards

    Hi
    Thank you for all the replies.
    The issue is related to the width of the output missing.
    The spool output is fine. Once this output is generated this wil be send to the spool recipient.
    spool output is different in the spool recipient and actual spool output produced in SM37. i.e  The width of the spool received in the spool receipient is missed. length is ok but widh is missing.
    Should i check in mail settings. Please help me
    Regards,

  • Excel attachment not rendering correctly in Mail but fine on iPod touch

    Some attachments (most notably Excel files) that I've been receiving lately (last month or so) have not showed up correctly as attachments in Mail (currently using v. 4.4). In the list view it shows the paperclip icon but when I click on the message the preview pane shows what I assume is mime code or something. If I check the same message on my iPod touch, the attachment shows up at the bottom of the message as an attached file icon (correctly identified as an Excel spreadsheet). Suggestions?

    Hello,
    In the USBC CSS , delete this:
    TD {
    font-family : Arial, sans-serif;
    float: right;
    Take care,
    Tim
    "bhanson" <[email protected]> wrote in
    message
    news:gp3ups$l6j$[email protected]..
    >I recently switched from Dreamweaver 8 to CS4. I also
    recently updated my
    > Firefox to 3.06. I have had this website for years, and
    it just started
    > not
    > rendering tables correctly in Firefox. This is happening
    on multiple pages
    > It
    > works fine in IE.
    http://www.wiw.uscourts.gov/bankruptcy/
    >
    > Let me say up front, I know the page is antiquated
    (created in Front Page)
    > It
    > uses tables for the layout instead of CSS. I hope to be
    updating it soon,
    > but
    > for now I need a fix to get the pages to work correctly.
    >
    > Any help would be greatly appreciated!
    >
    > Thanks,
    > Becky
    >
    >

  • Hindi fonts not rendering in html pages

    Hindi fonts not rendering in when html pages are run except the mangal and devnagri font.
    Is that a bug or a problem which i am not able to tackle.
    Mozilla browser shows error in console that (font download failed or The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range.
    downloadable font: download failed (font-family: "Kruti Dev 010" style:normal weight:normal stretch:normal src index:0): status=2147500037
    source: file:///D:/epub/filename/OEBPS/Fonts/k010.otf @ file:///D:/epub/filename/OEBPS/Styles/style.css).
    Please reply soon.
    Thanks.

    Download and install hindi font from [http://hindi-fonts.com Hindi Fonts] .

  • Mail not appearing as HTML - Mail Adapter

    Hello All,
    I'm using the mail package in a receiver mail adapter. During mapping I format the content in HTML format, using &lt; &gt; form < and >. Also I set the content type of the mail package to text/html. However when the mail is received, the content of the mail is the html with tags, it does not appear as an html page. When I see the source the file still has the escape characters instead of < and >. But when I save this as an html file and open it, it appears as a web page.
    Any thoughts?
    Thanks,
    Sandeep

    HI,Specify whether you want to encode the content of the e-mail message. You have the following options:
    ·        None
    ·        base64 (default value)
    ·        quoted-printable
    use quoted-printable
    Coding of characters in e-mails that are not contained in the ASCII character set.
    The code contains German umlauts and special characters
    http://help.sap.com/saphelp_nw04/helpdata/en/6b/4493404f673028e10000000a1550b0/content.htm
    Regards
    Chilla
    Message was edited by:
            Chandra Sekhar Chilla

  • Styles are not showing in html mail

    Hello all,
    i have a servlet that sends a mail in html format. i have a string with all the html tags, and the first part of the string is as follows:
    String htmlText = "<html><link href='styles/styles.css' type='text/css' rel='stylesheet'>....here gos the rest of the html tags.
    i receive the mail properly, but seems that the styles are not working....any help?
    Thanks

    Because the link to your stylesheet is a relative URL, and in an e-mail there's no base URL for it to be relative to. Using a fixed URL like http://yourhost.org/styles/styles.css would probably work.

  • Image not rendering for html signature

    I've created a CSS signature for my Mail signature (found at http://allforces.com/2006/04/14/css-signatures/) But no matter what I do the image (my logo) won't appear in the message. it's as if it can't find it on the machine. But when I open the file in Safari to create a webarchive, the image is rendering there. But when I save that webarchive and replace the signature file the image doesn't appear in the signature.
    Anyone have any ideas?

    ok I tried the instructions in that link and you are right, it is broken but it worked for me in one situation. If I create an html file using locally stored images and then convert it to a signature as outlined in this link it shows up correctly in the signature window in Mail prefs but the images don't show inside the message when i actually try to use the signature. Bummer.
    However, when I made an html file using images stored remotely on a webserver, the effect was the opposite! The pictures didn't show in Mail prefs but they did work correctly in Mail composition window and on the recepient end. Very weird and certainly a bug but it's a semi workaround I guess.

  • CDATA appearing but not rendering as html...

    simple XML
    <products>
        <product>
               <process>Preservation</process>
              <application>Crack Filling</application>
              <rank>100</rank>
              <productType>Viscosity Grade Asphalts</productType>
              <productName>AC-20 Asphalt Cement</productName>
              <suppliers><![CDATA[<a href="#">Indianapolis IN</a>,Des Moines IA,Laketon IN]]></suppliers>
              <pdf>AMI%202007%20AC-30,AC-20,AC-15,AC-10,AC-5,AC-25,AP-3,AP-5,OAF-1.pdf</pdf>
       </product>
    </products>
    in dataset
    var ds1 = new Spry.Data.XMLDataSet("datasets/master.xml", "products/product", {sortOnLoad: "process", sortOrderOnLoad: "ascending"});
    ds1.setColumnType("suppliers", "html");
    coming out in a repeat table
    <tr spry:repeat="ds1" spry:odd="blue">
            <td>{process}</td>
            <td><a href="{pdf}">{productName}</a></td>
            <td>{application}</td>
            <td>{suppliers}</td>
    </tr>
    ISSUE
    The {suppliers} info appears but none of it is rendered out as HTML. Isn't the columnType="html" suppose to eliminate this issue? From reading the board it seems that  people are talking about varying issues with different versions of SPRY. Any insight on what I should be doing different here? I have // xpath.js - version 0.7 - Spry Pre-Release 1.6.1

    found, the issue - there was a section further down the XSLT file that needed the disable-output-escaping adding to (below is the original section) - once updated it worked like a charm - thanks
    <xsl:template name="_LFtoBRloop">
        <xsl:param name="input" />
        <xsl:variable name="beforeText" select="substring-before($input, '&#xA;')" />
        <xsl:choose>
          <xsl:when test="string-length($beforeText) = 0 and substring($input, 1, 1) != '&#xA;'">
            <xsl:value-of select="$input" />
          </xsl:when>
          <xsl:otherwise>
            <xsl:value-of select="$beforeText" />
            <br />
            <xsl:call-template name="_LFtoBRloop">
              <xsl:with-param name="input" select="substring($input, string-length($beforeText)+2)" />
            </xsl:call-template>
          </xsl:otherwise>
        </xsl:choose>
      </xsl:template>

  • Apache in restricted mode not rendering downtime.html

    Hi All,
    I scheduled the downtime and brough the application services down, and then started the apache in restricted mode. But on accessing the logon link the downtime page is not coming up. Can you please help me on this.
    Instance Details
    OS: IBM AIX version6
    EBS: 11.5.10.2
    DB: 10.2.0.4.0
    Thanks,
    Sarvesh

    Sarvesh_n wrote:
    Hi Srini,
    Thanks for your reply. I have referred this document before scheduling the downtime. I haven't enabled the maintenance mode yet as i just wanted to see if the downtime page comes up before enabling the maintenance mode and subsequent patch application.
    I have followed step 6 as mentioned in the document, except that i have skipped the point 3(Enable Maintenance mode).
    Strangely this is working on one instance and does not work on the other, instance1 and instance2 are perfectly same. we have a 2 tier architecture.Are both instances on the same patchset level?
    What if you don't skip enabling maintenance mode, does this make a difference?
    Please also make sure you review (Managing Downtime in Restricted Mode from OAM [ID 364236.1]).
    Thanks,
    Hussein

  • JavaHelp not rendering HTML when run from Fatjar

    I'm experiencing a strange problem with JavaHelp: when I run my app from Eclipse and open JavaHelp, the html help pages render just fine. If I Fatjar the app and run it from the fatjar, however, then when I open the JavaHelp, my html help pages are displayed as raw text, HTML tags and all. For some reason it's not rendering the HTML. I'm guessing that maybe the fatjar is messing up the JEditorPane's ability to detect the content-type of the help pages, but I have no idea how to fix it if that's the case.
    I'm using a plain vanilla HelpSet file, pretty much straight out of the JavaHelp User's Guide.
    Anyone have any idea what might be causing this or how I might fix it/work around it? Has anyone else seen this problem before?

    For whatever it's worth, I am seeing this problem as well. It doesn't seem to have to do with FatJar, as I'm seeing it when I simply do the following:
        HelpSet helpSet = null;
        final ClassLoader cl = this.getClass().getClassLoader();
        try {
          helpSet = new HelpSet(null, HelpSet.findHelpSet(this.getClass().getClassLoader(), "IdeHelp.hs")); // XXX bogus for now
        } catch (final Exception kaboom) {
          helpSet = null;
        if (helpSet != null) {
          final HelpBroker helpBroker = helpSet.createHelpBroker();
          final ActionListener helpItemActionListener = new CSH.DisplayHelpFromSource(helpBroker);
          final JMenuItem primaryHelpItem = new JMenuItem("Help\u2026");
          primaryHelpItem.addActionListener(helpItemActionListener);
          helpMenu.add(primaryHelpItem);
        }I suspect it's a problem with the classloader, but I haven't dug to find out what exactly.
    Best,
    Laird

  • HTML Region with source as an item not rendering HTML

    HI All,
    1) I have a hidden item P1_ITEM which will be populated after page submit. This item value will be a text with HTML tags
    2) I have created a HTML region with source as &P1_ITEM.
    However the text in HTML region is not getting rendered properly for eg;-
    If the value of P1_ITEM is
    *HI &lt;BR &gt; HOW R U &lt;BR &gt;
    &lt;BR&gt; tag appears as such and is not rendered in HTML format.
    What should I do to get the HTML rendering correct.
    Thanks & Regards,
    Vikas Krishna

    Hi
    I created the scenario you explained and found the same issue. I don't know the reason may be some other expert can explain the it.
    However as a workaround you can create a PL/SQL (anonymous block) region and in the source you can use
    htp.p( :P1_ITEM );----
    Zulqarnain
    MaxApex Hosting
    http://www.maxapex.com

  • Error in receiver Mail adapter: Client was not authenticated

    Hi.
    My requirement is to send email via PI to an extermal mail address. I am trying to use the following configuation for the same.
    Tramsport Protocol: SMTP
    Message Protocol: XIPAYLOAD
    URL: To get the value of URL, execute transaction SCOT in PI system. Double click on SMTP and get the Mail host from there (name). So the URL has been specified as smtp://name
    Comfigure User authentication - Checked
    User: My outlook email address
    Password: My outlook email password
    From:  My outlook email address
    To: External address to which the email needs to be sent
    Content encoding: base64
    But the email is not getting sent. when I check the adapter engine I see the errors:
    Mail: error occured: java.io.IOException: server not responding OK to MAIL FROM; 530 5.7.1 Client was not authenticated
    Mail: error occured: com.sap.aii.af.lib.mp.module.ModuleException
    MP: exception caught with cause com.sap.aii.af.sdk.xi.srt.BubbleException: Failed to call the endpoint  [null "null"]; nested exception caused by: java.io.IOException: server not responding OK to MAIL FROM; 530 5.7.1 Client was not authenticated
    Adapter Framework caught exception: Failed to call the endpoint
    Delivering the message to the application using connection Mail_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.af.sdk.xi.srt.BubbleException: Failed to call the endpoint  [null "null"]; nested exception caused by: java.io.IOException: server not responding OK to MAIL FROM; 530 5.7.1 Client was not authenticated.
    Can anyone please suggest what changes are needed to make this work?
    Any help is greatly appreciated.
    Thanks.
    Anuradha.

    HI Anuradha,
    Check the below link for receiver mail configuration and follow the steps accordingly.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0a27c01-26b0-2c10-bd8a-94498efa7ff6?quicklink=index&overridelayout=true
    Regards,
    Naveen

  • Mail rendering of HTML behaving awkward

    When ever I receive an HTML email at work in Mail, the rendering of the HTML does not complete in the preview box below the message list. Even if the whole message is 100% correct.
    I have to scroll the preview down and then Mail completes the rendering of the blank blocks correctly.
    Does anyone know anything about this or has anybody encountered it before?
    I am using Tiger (10.4.11) on a Mac Mini (1.42GHz PPC G4) at work and Mail (2.1.3).

    Hi, BDAqua
    Yes, I looked at the source and everything is fine inside the code. When viewing the particular HTML email everything seems fine except for a few first moments Mail does not completely render the whole HTML email. It seems that all content that falls in a certain imaginary white block on the screen is not rendered until I scroll with the mouse so that that imaginary block is scrolled away, and not visible anymore. (I am viewing messages in the Preview area of Mail beneath the Inbox window)
    As soon as I scroll back up, the imaginary block is gone and all elements of the HTML email are rendered properly.
    This is very strange behaviour and not serious, except it just annoys me beyond belief.
    Thanks BDAqua, this is not serious, I'll just accept it that the previous Mail is a bit behind.

Maybe you are looking for