# Multiple Attachments using Send Email action

**URL:** https://www.finalbuilder.com/forums/t/multiple-attachments-using-send-email-action/129
**Category:** Discussion
**Created:** [July 12, 2006, 7:56am UTC](https://www.finalbuilder.com/forums/t/multiple-attachments-using-send-email-action/129 "2006-07-12T07:56:34Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [July 12, 2006, 7:56am UTC](https://www.finalbuilder.com/forums/t/multiple-attachments-using-send-email-action/129/1 "2006-07-12T07:56:34Z")

</div>

I have a set of files in a directory and have a list of those files in a variable. I use that variable in the attach tab and it works fine as long as there is only one file in the list. If I have more than one file it fails to find any of them. For the separator between files I have used a CRLF, TAB comma, semicolon and space and it will not work.

---

<div class="post-metadata">

### Author: ![angus](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/a/b3f665/32.png) [@angus](https://www.finalbuilder.com/forums/u/angus)
#### Post date: [July 13, 2006, 1:21am UTC](https://www.finalbuilder.com/forums/t/multiple-attachments-using-send-email-action/129/2 "2006-07-13T01:21:42Z")

</div>

Hi Dale,  
  
You can’t actually do this at the moment. However, I’m just testing a change which will allow multiple line variables to expand to multiple attachments. I’ll let you know when a test build is available.  
  
In the meantime, you can use the following JScript workaround in the BeforeAction script event. Separate the attachments’ names with CRLF:  
  
Action.AttachmentsObject.Text = AttachmentsVariable;  
  
(replace AttachmentsVariable with the name of your variable. Note that setting the Text property will erase any entries which are already in the Attachments list.)
