Home › Forums › Quform PHP › Quform to build html email sending web app
- This topic has 10 replies, 2 voices, and was last updated 11 years ago by slavallee.
- AuthorPosts
- November 3, 2013 at 2:00 pm #7191slavalleeParticipant
Hi, I wanted to use Quform to build an application where a site administrator can log in to their site, and enter data into a Quform form to produce an html email (with a set template) that will be sent off to a customer whose email they have specified in one of the form fields. Other fields would be for a sender’s email, a bcc, a subject, and email content.
My main question is, how can I create the email to contain the html template? Also, how do I do the bcc?
Thanks.
November 3, 2013 at 2:18 pm #7192slavalleeParticipantSo, upon looking through the Quform files, it looks like I can edit emails/autoreply.php to create the email template….correct? Also, I could use emails/notification.php to send the identical email back to the salesperson, negating the bcc requirement I noted earlier…..yes?
Thanks.
November 3, 2013 at 2:40 pm #7193slavalleeParticipantSorry to bombard you, but I’d also like to add a feature where the sender can ‘test’ the email before sending it to the intended recipient. So, there might be two buttons at the bottom of the email….one to test (only send it to themselves) and another to actually send it out. Is there a place in process.php where I can specify actions based on which button is pressed?
November 4, 2013 at 12:39 pm #7204AllySupport 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 1:04 pm #7205slavalleeParticipantGreat, thank you. Something else I’d like to do is make it so the fields do not clear when the ‘test’ button is pressed. Is there a quick fix for that?
November 4, 2013 at 2:17 pm #7213AllySupport 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:28 pm #7221slavalleeParticipantThanks, that does work to keep the fields filled out. However, once tested, I’d like to just be able to press the send button and have the message send as normal. Right now, after I press ‘test’, the loading graphic remains visible next to the buttons, and I’m unable to then ‘send’ the form. Pressing the ‘send’ button seems to do nothing.
Thanks.
November 4, 2013 at 5:29 pm #7222slavalleeParticipantAlso, pressing the ‘test’ button again seems to do nothing.
Thanks.
November 5, 2013 at 8:30 am #7229AllySupport 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 11:09 am #7258AllySupport 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:38 pm #7266slavalleeParticipantGreat, that solves this problem….thanks so much!
- AuthorPosts
- You must be logged in to reply to this topic.