Email does not send to all receipts

9 views
Skip to first unread message

cris...@mundodescuento.com

unread,
Mar 4, 2016, 12:25:22 PM3/4/16
to Webscript.io
Tthe email is just delivered to email 1

  alert.email({
      server = "smtp.gmail.com:495",
      username = "xxxxxxxxxxxxxx",
      password = "xxxxxxxxxxxxx",
      from = "xxxxxxxxxxx",
      to = {"email1", "email2", "email3"},
      subject = text,
      text = text
  })

Steve Marx

unread,
Mar 4, 2016, 4:28:03 PM3/4/16
to Cristian Haunsen, Webscript.io
See https://www.webscript.io/documentation#alerts. The method alert.email doesn't accept the fields "server," "username," "password," "from," or "to" fields. It just emails the owner of the script, and the email comes from Webscript itself.

I think you want email.send instead.


--
You received this message because you are subscribed to the Google Groups "Webscript.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webscriptio...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages