Hi, email transporting is breaking Cute Editor generated pages.

Last post 05-31-2006, 9:00 PM by obiwantcp. 3 replies.
Sort Posts: Previous Next
  •  05-31-2006, 5:59 PM 19706

    Hi, email transporting is breaking Cute Editor generated pages.

    Hi,
     
    After initial pilot of our Cute-Editor-enabled solution, we have received raved reception, but one of the tests produced a very odd behavior. And it's not Cute Editor's fault at all.
     
    We have clients who uses spaces to do formatting (yes.. it's true, it turns out not everyone is a Desktop Publishing Guru...*grin*) and if you put enough ampersand-nbsp-semi's together you end up easily exceeding the line length limit of email transport envelopes. Uh, in english, the line length will be chopped by the nearest mail server--doing it's nicest to be a responsible netizen in email land. Unfortunately this is not a very intelligent chop, and we are starting to see random characters show up in the resulting email in the recipient's hands.
     
    Question: Can we add a advisory length limit to the source generated by Cute Editor? It's not absolute, but please introduce a new-line somewhere near the designated length.
     
    We thought it would be just so cute if Cute Editor can help us in preemptively review the object model in memory and do something with the source code. Keeping it under 991 characters would be ideal in our case of sending HTML-formatted emails (as explained in: http://mailformat.dan.info/body/linelength.html)

    Example:

     
     
     
    A RecommendSourceLength of 20 would do a best effort of
     
    <P>Blah blah <B>BLAH
    !</B> blah blah blah.</P>
     
    To
     
    <P>Blah blah <B>BLAH!</B> blah blah blah.</P>
     
    Okay in this case it can do it perfectly, but it would do the right thing, instead of chopping a tag in half, like this:
     
    <HT
    ML>
     
    Any help in this regard would be wildly appreciated. Thank you!! :-)
     
    Best regards,
    -- David
     
  •  05-31-2006, 6:17 PM 19707 in reply to 19706

    Re: Hi, email transporting is breaking Cute Editor generated pages.

    David,
     
    Please check Editor.MaxHTMLLength Property.
     

    Editor.MaxHTMLLength Property

    Gets or sets the maximum number of characters including the HTML tags allowed in the Cute Editor. Default is zero, indicating no maximum.


    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  05-31-2006, 8:16 PM 19711 in reply to 19707

    Re: Hi, email transporting is breaking Cute Editor generated pages.

    *blink*
     
    :-)
  •  05-31-2006, 9:00 PM 19713 in reply to 19711

    Re: Hi, email transporting is breaking Cute Editor generated pages.

    Hi Adam,
     
    Thank you for the quick response. I tried the feature and it takes it half way there.
     
    Good news: Yes, it does warn people about long lines.
    Bad news: It restricts the entire email body to 950 chars in html source.
     
    The entire body of the message may be longer than 998 chars. But no single line of HTML source can be. Is there something we can do? Thank you ahead of time :-)
     
    Best regards,
    -- David
View as RSS news feed in XML