Jump to content

Send email to addresses in a text field


Recommended Posts

I created a text field "email_list" in the form and set default value to "user1@gmail.com;user2@yahoo.com". Then in the notification email configuration, I put [@field:email_list] in the TO field. My hope is that an email is sent to the addresses in the email_list when the form is submitted.

If only one email address is in the email_list field, it works. The email can be received.

When putting more than one emails in the field, it doesn't work anymore. None of them receive the email.

What could be wrong?

Link to comment
Share on other sites

I can successfully send Notification emails to multiple recipients - though I've never used parameters.

Can you confirm there are semi-colons after BOTH emails?

I see using one text field to accept multiple emails as potentially problematic as there wouldn't be a way to ensure proper email format.

 

Maybe use multiple Virtual Fields set as Email, then use Javascript to combine multiple emails into one text field, so you can ensure proper email format and semi-colon usage.

This may never work with Paremeters - you may have to loop through auto-submitting data pages to accomplish this.

Link to comment
Share on other sites

I figured out a work around. Just to share to those who need to do the same thing.

A text field that contains multiple email addresses can be used in the TO field in Acknowledgement email, but it CANNOT be used in Notification email.

Strange enough, uh...?

I have talked to many customer support guys and none of them could offer any help. I eventually figured out the work around myself :).

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...