Hi,
I’m building an online registration form for a youth sports league using ChronoForms. How do I set it up so that on submit an email with a custom layout is sent to the registrants (persons filling out the form) and a separate email with a different custom layout is sent to league administrators.
William
I want to send an email to 'email' and 'sec'.
I've tried the php-script, but it doesn't work.
Here's the beginning of my php-script.
What I'am doing wrong?
<?php
$rows[0]->extraemail = $rows[0]->extraemail.",".$_POST['email'].",".$_POST['sec'];
$from = $replyto_email ="'xxxx";
$fromname = $replyto_name = "Karel V";
$recipient = $_POST['email'];
$subject = "Registration .....";
$message = '
<html>
Regards
YLI
Hi YLI,
this have completely changed in V3, this post is almost 1 year old, use 2 emails in V3.0 to do what you need, if you need more help then open a new topic please!
Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Hi,
I'm just looking for a simple php code, to be used in chrono forms, to send the email form to 2 mailadresses: $recipient & [email]pietjepuk@hotmail.com[/email]. Please help me.
Hi YLI,
Add both a To field and a Dynamic To field to your Email setup.
Bob
hi Bob,
please can you give just give me the script. I'm not so good in php.
Hi YLI,
You don't need any PHP - just drag another To box into your email setup.
Bob
Hi Bob,
Sorry, but do you mean in the General tab?
Some posts earlier you'll see my php script from my email setup.
Hi YLI,
No I mean the Email Setup tab.
Bob
Hi Bob,
We're using Joomla 1.0.13 and do have a special field tab, but no email setup tab.
YLI
Hi YLI,
Ah! In that case . . . the *best* answer is to upgrade to Joomla 1.5.
If you can't do that then you'll need to add code in the OnSubmit Before box to add the second email. I'm sure that's in the forums here but many months back.
If you can't find it then ask again and I'll see if I can remember how the old version of ChronoForms works.
Bob
Hi Bob,
Thanks, but I'm searching this forum for months, but I'm not able to find the right solution.
Please, will you trying to remember how the old version of chronoforms works?
Yli
Hi Yli,
Search for "mosmail", this is the function which will do emails in the earlier version, so you should be able to find some posts which have this text!
Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.