| Author |  | 
      
        | emacarie Newbie
 
  
 
 Joined: 02 April 2010
 Online Status: Offline
 Posts: 4
 | 
          I am having a bit of a problem when I try to save an email and all attachments
           | Posted: 15 September 2010 at 7:55am | IP Logged |   |  
           | 
 |  to disk.
 I have an email with a few embedded images that are very long names. (i.e.
 spacer2.gif_v=2&a=yHnz5BjBx5IaFSp0bJEv%2F0JYY1Q1nXqEr51% 2Fuqx74RqMMRy3tFiRLf
 UYG8M%2Fkdd8kiJP5Xlnnmobsraexeg9UD%2BjdBvhy2bdaut7aWHbYoo%3D )
 
 I create a message using LoadBodyText and then I try to save it using
 SaveHtmlAndRelatedFiles.
 
 The problem is that SaveHtmlAndRelatedFiles tries to save the images to
 disk and fails with the exception that the filepath is more than 240 characters.
 
 I am wondering what might be a good way either on the LoadBodyText or
 SaveHtmlAndRelatedFiles to truncate these attachments names.
 | 
       
        | Back to Top |     | 
       
       
        |  |