| Author |  | 
      
        | Guests Guest Group
 
  
 
 Joined: 10 November 2003
 Online Status: Online
 Posts: 262
 | 
          Hi,
           | Posted: 22 May 2005 at 3:00am | IP Logged |   |  
           | 
 |  We are Msg.HasAttachments to check if incoming mail has any attachments. Further to that we use Msg.Attachments.Count to check number of attachment files and then we run a loop 'For Each Attach in Msg.Attachments' to retrieve the attachment file name and its file size.
 
 This works absolutely fine except when the mail has a .eml type attachment. The file name is returned as a blank string and so is the file size.
 
 My question:
 
 a) How to read file name and file size of .eml type attachments?
 
 b) How to detect a .eml type attachment and present it as a inline message after the mail body (returned by Msg.BodyText)?
 
 Best Regards
 
 Shantanu Biswas
 
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Alex AfterLogic Support
 
  
  
 Joined: 19 November 2003
 Online Status: Offline
 Posts: 2207
 | 
          First, make sure you're using the latest version of MailBee Objects. You can find it on our new web site Afterlogic.
           | Posted: 22 May 2005 at 8:18am | IP Logged |   |  
           | 
 |  
 If the problem persists, could you please resend the entire message (with .EML attachment which cannot be read) to support@afterlogic.com? Please send this problem message as attachment (maybe in .zip) to keep original formatting, etc. I'll then unpack it to disk, load with MailBee and iterate 'For Each Attach in Msg.Attachments' through the message.
 
 Regards,
 Alex
 | 
       
        | Back to Top |     | 
       
       
        |  |