# Send mail issue: recipient is a variable

**URL:** https://www.finalbuilder.com/forums/t/send-mail-issue-recipient-is-a-variable/2198
**Category:** Discussion
**Created:** [September 17, 2013, 6:34am UTC](https://www.finalbuilder.com/forums/t/send-mail-issue-recipient-is-a-variable/2198 "2013-09-17T06:34:22Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![efridman](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/e/a88e57/32.png) [@efridman](https://www.finalbuilder.com/forums/u/efridman)
#### Post date: [September 17, 2013, 6:34am UTC](https://www.finalbuilder.com/forums/t/send-mail-issue-recipient-is-a-variable/2198/1 "2013-09-17T06:34:22Z")

</div>

Hi

&nbsp;I have a send mail action and in the recipient field I’m using a variable

It work when there is single recipient but getting an error when variable have two recipient ( I tried several delimiters )

Should it work ?

It doesn’t make sense that in case I have multiple recipient I need to use multiple variable or write each one of them specifically.

---

<div class="post-metadata">

### Author: ![nevar](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/n/c4cdca/32.png) [@nevar](https://www.finalbuilder.com/forums/u/nevar)
#### Post date: [September 18, 2013, 12:51pm UTC](https://www.finalbuilder.com/forums/t/send-mail-issue-recipient-is-a-variable/2198/2 "2013-09-18T12:51:41Z")

</div>

Hi EF,   
  
 In the recipients tab the “Load From Variable” offers the feature your after. Make sure however that each address has only a single comma separator between them.   
  
 An example would be;   
  
 "jason.smith@someaddress.com.au,another.person@someotheraddress.com,lastperson@finaladdress.com"   
  
 without the quotes of course, just included them to show the beginning and end of the string.

---

<div class="post-metadata">

### Author: ![efridman](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/e/a88e57/32.png) [@efridman](https://www.finalbuilder.com/forums/u/efridman)
#### Post date: [September 30, 2013, 8:09am UTC](https://www.finalbuilder.com/forums/t/send-mail-issue-recipient-is-a-variable/2198/3 "2013-09-30T08:09:03Z")

</div>

Hi   
  
 I tried that, still doesn’t work - very strange   
 I get this   
  
 Action Messages:   
 9/30/2013 9:06:56 AM : 250 2.0.0 Resetting   
 9/30/2013 9:06:56 AM : 250 2.1.0 Sender OK   
 9/30/2013 9:07:01 AM : 501 5.1.3 Invalid address   
 9/30/2013 9:07:06 AM : 250 2.0.0 Resetting   
 Unable to Send Message (Send)   
 Invalid address   
  
 9/30/2013 9:07:06 AM : 221 2.0.0 Service closing transmission channel   
 Disconnected. : Disconnected.   
  
 Elad

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [October 1, 2013, 2:05am UTC](https://www.finalbuilder.com/forums/t/send-mail-issue-recipient-is-a-variable/2198/4 "2013-10-01T02:05:27Z")

</div>

I just tested here with variables in every field that I could use them, and it worked fine. I don’t see any authentication happening in your action output, that may be the cause.

---

<div class="post-metadata">

### Author: ![efridman](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/e/a88e57/32.png) [@efridman](https://www.finalbuilder.com/forums/u/efridman)
#### Post date: [October 1, 2013, 3:01am UTC](https://www.finalbuilder.com/forums/t/send-mail-issue-recipient-is-a-variable/2198/5 "2013-10-01T03:01:22Z")

</div>

Will you be able to upload an example project ?

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [October 1, 2013, 3:12am UTC](https://www.finalbuilder.com/forums/t/send-mail-issue-recipient-is-a-variable/2198/6 "2013-10-01T03:12:12Z")

</div>

A better idea, send your project to [support@finalbuilder.com](mailto:support@finalbuilder.com), that way we can see exactly what it is you are doing.
