| Author |  | 
      
        | BOD Guest Group
 
  
 
 Joined: 10 November 2003
 Online Status: Online
 Posts: 262
 | 
          Hi!
           | Posted: 21 December 2003 at 10:33am | IP Logged |   |  
           | 
 |  
 Files I want to attach have temporary filenames. Is it possible to attach these files specifying real (not temporary) names? Real names are stored in a database.
 
 Thanks
 
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Alex AfterLogic Support
 
  
  
 Joined: 19 November 2003
 Online Status: Offline
 Posts: 2207
 | 
          AddAttachment method of SMTP objects supports optional parameter FilenameInMessage that allows to override attachment filename.
           | Posted: 21 December 2003 at 11:24am | IP Logged |   |  
           | 
 |  
 SMTP.AddAttachment "C:\data\file.tmp", "image/gif",,"picture.gif"
 | 
       
        | Back to Top |     | 
       
       
        |  |