Problem with Email length
Last Post 02-19-2008 07:46 AM by Chad Nash. 4 Replies.
AddThis - Bookmarking and Sharing Button
Author Messages
Mselle PoussUser is Offline
skipping stones
skipping stones
Posts:7
Avatar

--
04-23-2007 10:04 PM

    Hello!

    I've a problem with the email message. The message is truncated! The message length in the database field (table dnn_DynamicForms_Events) is around 3850 characters.

    I've seen in another post that this problem could append if the max length of this field in the database was too small. In my case this value is set to 4000. I think I would have to change this value but I can't.
    When I want to change the value I have only the choice between 4000 or MAX! Who can I put another value?

    I've also check in the stored procedure (DynamicForms_AddDynamicEvent and DynamicForms_UpdateDynamicEvent) and the values are too set to 4000. How can I change this values?

    Thank you for your help!

    Bye

    Aurélie

     

     

     



    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    04-24-2007 01:25 PM
    Well if you need more than 4000 you might need to change the column type to text and also the stored procedures to text instead of nvarchar. You could change them to varchar instead of nvarchar but that would stop your limit at 8000.

    Do you just have a really large email message or is the message maybe brought over from Microsoft Word or something? Microsoft Word adds a lot of extra garbage text that you probably don't need in the email.

    -Chad


    Mselle PoussUser is Offline
    skipping stones
    skipping stones
    Posts:7
    Avatar

    --
    04-24-2007 11:42 PM

    Hello!

    Thanks for your answer! I've done the modifications and now it works fine!

    It was just a very long message and we need to have more than 4000 characters.

    Thank you

    Bye

    Aurélie

     



    HeatherUser is Offline
    wading in the water
    wading in the water
    Posts:23
    Avatar

    --
    02-19-2008 04:48 AM

    Hi! I'm having the same issue with email truncation.  Could you explain what changes you made to fix the problem?  Where would I change the settings?  Thanks!  H



    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    02-19-2008 07:46 AM

    Hi guys... For those who need this functionality you need to modify the emailmessage column to be text instead of nvarchar with 4000 characters and then you need to modify the add and update stored procedures.

    I have created a quick SQL script to do this for you.

    The disclaimer is: This is for Dynamic Forms 2.5 release only and this is assuming your site does not need object qualifiers.

    To make this modification you can download the attachment and open the txt file in notepad. Copy and paste the SQL Query under Host, SQL and click to execute the SQL script.

    We will also review this in the future to determine if this should be changed for all installations automatically.

     

    -Chad

     

     

     


    SQLScript_ModfiyEmailMessageToTextColumn.zip



    ---
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi