| Author |  | 
      
        | brian.lai Newbie
 
  
 
 Joined: 15 November 2011
 Location: United States
 Online Status: Offline
 Posts: 8
 | 
          I'm currently running on MailBee.NET version 5.9.2.201 so it is an older version but haven't seen anything in the upgrade notes that would leave me to believe this issue has been fixed.
           | Posted: 15 November 2011 at 10:35am | IP Logged |   |  
           | 
 |  
 We currently have the MailMessage.Parser.HeadersAsHtml set as TRUE.
 
 I am currently processing an email with an attachment with an '&' in the filename. The issue we're having is when saving the file to disk we would like to append a guid onto the beginning of it so we need to use the Attachment.Save() method.
 
 The issue is when calling the Attachment.Save(Guid.NewGuid() + "_FileName_&_Test.pdf", true), it will save the file to disk with the name "0d1d473b-8c04-4385-9dcc-018afaec452b__FileName_&_Test.Pdf", but when looking into the Attachment.SavedAs property it lists the file as: "0d1d473b-8c04-4385-9dcc-018afaec452b_FileName_&_Test.Pdf".
 
 How do I prevent this? Is this a known bug or is there a workaround w/o setting HeadersAsHtml  as false?
 
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | brian.lai Newbie
 
  
 
 Joined: 15 November 2011
 Location: United States
 Online Status: Offline
 Posts: 8
 | 
          Ahh forum accidently html encoded by issue as well.
           | Posted: 15 November 2011 at 10:38am | IP Logged |   |  
           | 
 |  
 The Attachment.SavedAs property equals: 0d1d473b-8c04-4385-9dcc-018afaec452b_FileName_amp;_Test.Pdf
 
 the amp; above has an & in front of it as course, it won't let me post in the forum w/o converting it to an &.
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          The first thing to do is to try replicating the problem with current version of the product. In every new version, we keep adding bugfixes and improvements, it's not possible to list them all, and version 5.9 is too old so there's a great chance the upgrade will help.
           | Posted: 15 November 2011 at 10:19pm | IP Logged |   |  
           | 
 |  
 In case if the issue persists, please let us know.
 
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | brian.lai Newbie
 
  
 
 Joined: 15 November 2011
 Location: United States
 Online Status: Offline
 Posts: 8
 | 
          I got the latest version of the product and the issue is still there.
           | Posted: 16 November 2011 at 1:54pm | IP Logged |   |  
           | 
 |  | 
       
        | Back to Top |     | 
       
       
        |  | 
        | brian.lai Newbie
 
  
 
 Joined: 15 November 2011
 Location: United States
 Online Status: Offline
 Posts: 8
 | 
          Can anybody help???
           | Posted: 12 January 2012 at 2:18pm | IP Logged |   |  
           | 
 |  | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          Can you please confirm this occurs for current DLL build?
           | Posted: 12 January 2012 at 11:05pm | IP Logged |   |  
           | 
 |  
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  |