- March 11, 2014 at 9:39 pm #9118
I am somewhat confused.
I have a contactform which a visitor fills with tye neccesary information. Now this form is submitted and the contents go to me. However I also want the contents being sent to the person who filled in the form.
I am not entirely sure how to achieve this.
I have set this:
$config[‘autoreply’] = true;
Is this correct or am I in the wrong place for what I want to achieve?
but I also see this:
* If you want the email to show from their name submitted from the name field as well, you
* can use the code:
* $config[‘autoreplyRecipient’] = array(‘%email%’ => ‘%name%’);
I don’t understand what is meant here.
MartinMarch 12, 2014 at 10:00 am #9127March 12, 2014 at 5:22 pm #9148
“If you copy the contents of emails/notification.php into emails/autoreply.php it will send all the form data to the user”
Could you elaborate a bit on this? Should I overwrite the contents of the emails/autoreply.php or just at it there?
Which part of the emails/notification.php should I copy? I can’t copy everything and add them because that would mean there are two body and html tags in one document :-).March 13, 2014 at 12:11 pm #9157March 14, 2014 at 2:47 pm #9177
Hm I did that and set $config[‘autoreply’] to true but it still doesn’t work. I am sure I am doing something wrong but I can’t seem to figure it out. Could you take a look at the files for me?
I am trying to get two forms on one page. The form I am currently working on is called contact.html and the processor is contact.php
Attachments:You must be logged in to view attached files.March 14, 2014 at 4:47 pm #9181
Okay now I am really confused :-). I seem to be getting (as a visitor) a mail after waiting for over 3 hours. But it isn’t showing any comments. Just my name, emailaddress and IP number.
I would really appreciate if you could take a closer look at my code.
March 17, 2014 at 1:09 pm #9198March 17, 2014 at 1:15 pm #9201
- This reply was modified 8 years, 5 months ago by Martin_1.
I will give it a try and see where it leads me :-). I assume it doesn’t really matter where I place this in the process file?
MartinMarch 17, 2014 at 1:23 pm #9205
- You must be logged in to reply to this topic.