LUA - send email to multi recipients[solved] Topic is solved

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
Flopp
Posts: 279
Joined: Sunday 03 January 2016 14:55
Target OS: -
Domoticz version:
Location: Sweden
Contact:

LUA - send email to multi recipients[solved]

Post by Flopp »

How can I send email to multi recipients?

If I use this code, second email(bbbb) will be as CC

Code: Select all

commandArray['SendEmail']='Subject# #[email protected];[email protected]'
if i use this code, only bbbb will get the email not aaaa

Code: Select all

commandArray['SendEmail']='Subject# #[email protected]'
commandArray['SendEmail']='Subject# #[email protected]'
do I have to use some kind of delay between aaaa and bbbb?
Last edited by Flopp on Tuesday 10 May 2016 21:43, edited 1 time in total.
User avatar
jvdz
Posts: 2445
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: LUA - send email to multi recipients

Post by jvdz »

Think this should work:

Code: Select all

commandArray[1]={['SendEmail']='Subject# #[email protected]'}
commandArray[2]={['SendEmail']='Subject# #[email protected]'}
Jos
Flopp
Posts: 279
Joined: Sunday 03 January 2016 14:55
Target OS: -
Domoticz version:
Location: Sweden
Contact:

Re: LUA - send email to multi recipients[solved]

Post by Flopp »

jvdz wrote:Think this should work:

Code: Select all

commandArray[1]={['SendEmail']='Subject# #[email protected]'}
commandArray[2]={['SendEmail']='Subject# #[email protected]'}
Jos
Thanks it worked perfect :D
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest