I have created a rather extensive submission form. The user selects the recipient from a drop down menu.
Once submitted I want a copy of the form emailed to the user. How can I accomplish this?
Hi bigsecz,,
That should work OK - but you don't need the $profile line as you aren't using those values anywhere.
Bob
Hi Bob
Thanks for your answer. So just the snippet:
<?php echo $user->username; ?>
Can you tell me where I can paste this code?
Hi Bob
I've tried different possibilities to send a copy of the mail to the logged in user. I have followed the video tutorial, draged a second e-mail box in the 'on submit action' and used the 'dynamic to' field and entered:
username
and
<?php echo $user->username; ?>
but both options don't work. What am I doing wrong?
Thanks!
Hi Bob
Thanks, that seems to work. However... somehow the module doesn't send e-mails to hotmail or gmail. I have checked all your sugestions on http://www.chronoengine.com/faqs/52-cfv4/cfv4-emails/2623-why-arent-my-emails-being-delivered.html
but without result. Debugger mentions that mails have been sent succesfully.
Hi Rutger1973,
Please drag a Debugger action into the On Submit event, then submit the form and post the debug - including the 'dummy emails' results here.
Note: if you are using the Easy Wizard you can turn on Debug on the Others tab in CFv4 or the Setup tab in CFv5.
Bob
Hi Bob
Seems that Gmail is working (mail was in spam folder), hotmail is still not working. Als made a small testform with just 1 textbox, same results. Debugger info is rather large so will send it by PM.
Thanks
Hi Rutger1973,
ChronoForms will be sending the email in both cases. It looks as though Hotmail is marking the emails as possible spam and dropping them :-(
It looks to me as if the From Email may not match the site domain - that can cause email problems.
It could also be the long list of wines that cause the problem. I'd be inclined to add some PHP to the output to remove all the 'empty' options from the email.
Bob
Hi Bob
I would be very happy to remove all the 'empty' options but I don't know how. Is this a special feature I can add to the form by the editor? I don't know how to write PHP so if it requires customized PHP code, I have no clue how to add this.
Thanks!
Hi Rutger1973,
It does require some custom PHP :-(
Bob