Home › Forums › Quform PHP › Define notification email within form
- This topic has 9 replies, 2 voices, and was last updated 11 years, 8 months ago by
Ally.
- AuthorPosts
- November 4, 2013 at 4:51 am #7196
slavallee
ParticipantI need to make notification emails go to an address as defined in an input field in the form…how do I do that? When I attempt to use, for example, $config[‘recipients’] = ‘%recipient_email%’;, I get various error messages. It seems that that value is not being populated into %recipient_email% upon form submission.
Thanks.
November 4, 2013 at 2:14 pm #7211Ally
Support StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
November 4, 2013 at 5:32 pm #7223slavallee
ParticipantGreat, thanks. I might need to allow for sending to multiple addresses. If the user filled out the form using addresses separated by commas in the recipient email input, would this work to send to all the addresses?
November 5, 2013 at 8:32 am #7230Ally
Support StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
November 5, 2013 at 1:43 pm #7234slavallee
ParticipantI put that in process.php, but I believe the email validator will need to be altered as well before entries can be processed. How do we go about doing that?
November 6, 2013 at 11:58 am #7259Ally
Support StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
November 6, 2013 at 2:37 pm #7264slavallee
ParticipantOK, I did this. It looks like the validator is working correctly now, but when I try to send to more than one address (I tried two), I get the error as shown in the screenshot I’m attaching.
Thanks.
Attachments:
You must be logged in to view attached files.November 6, 2013 at 2:44 pm #7267slavallee
ParticipantWell, I just noticed that the email back to the sender actually did go through when I press ‘Test’ or ‘Send’. However, the defined recipients did not receive the email.
November 7, 2013 at 9:11 am #7286Ally
Support StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
November 18, 2013 at 11:24 am #7432Ally
Support StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
- AuthorPosts
- You must be logged in to reply to this topic.