I have had a good look around the forums but haven't been able to get this working.
So here is what I want to do:
In one of my forms I want the results to be emailed to me but also the submitter to receive my custom email template automatically after submitting the form.
Laurel
So here is what I want to do:
In one of my forms I want the results to be emailed to me but also the submitter to receive my custom email template automatically after submitting the form.
Laurel
Hi Laurel,
You can't do exactly that but you can do something that has the same effect.
Send the results to yourself as usual, then use the 'OnSubmit after email' box to send an email to the submitter. There was an example here that includes the code to do that.
Bob
You can't do exactly that but you can do something that has the same effect.
Send the results to yourself as usual, then use the 'OnSubmit after email' box to send an email to the submitter. There was an example here that includes the code to do that.
Bob
Can that include css? Or can we only use a basic html message?
Also, if we can't get this to work we thought about setting up an auto responder within our mail program to handle it, but the reply to email is ours, is there some way to correct that so on reply it goes to the submitter?
Also, if we can't get this to work we thought about setting up an auto responder within our mail program to handle it, but the reply to email is ours, is there some way to correct that so on reply it goes to the submitter?
Hi Laurel,
You can include css wrapped in style tags or attributes - but please test first. Some mail readers are picky about what css they make use of.
Bob
You can include css wrapped in style tags or attributes - but please test first. Some mail readers are picky about what css they make use of.
Bob
Hi Bob,
Is there any way to get the results email to come through with the from address being the submitters email address, so when we hit reply it goes to them and not back to us?
Laurel
Is there any way to get the results email to come through with the from address being the submitters email address, so when we hit reply it goes to them and not back to us?
Laurel
Hi Laurel,
You can try it but I don't recommend it. The ReplyTo address is checked by many ISPs to make sure that it matches your domain. If it doesn't the email may be marked as 'relayed' and treated as spam. (Remember that this is actually an email from your website, not from the submitter.)
You can add a ReplyTo link in the email and say click here to reply that will have a similar result. Not quite so convenient but you have a better chance of getting the emails in the first place.
Bob
You can try it but I don't recommend it. The ReplyTo address is checked by many ISPs to make sure that it matches your domain. If it doesn't the email may be marked as 'relayed' and treated as spam. (Remember that this is actually an email from your website, not from the submitter.)
You can add a ReplyTo link in the email and say click here to reply that will have a similar result. Not quite so convenient but you have a better chance of getting the emails in the first place.
Bob
Hi Bob,
What if I want the email to be sent only to the submitter?
I don't want a copy, I have tried to remove my own email address but it says that it requires an Email Address, Email Subject and From Name, From Address. I have all of that, but the Email address field is empty, instead I filled in the one in special fields.
Do I have to change the code or is there a way to make it work?
Adam
What if I want the email to be sent only to the submitter?
I don't want a copy, I have tried to remove my own email address but it says that it requires an Email Address, Email Subject and From Name, From Address. I have all of that, but the Email address field is empty, instead I filled in the one in special fields.
Do I have to change the code or is there a way to make it work?
Adam
Hi Adam,
There is a buglet in the current ChronoForms that requires an email address in the General Tab even if there is a field specified in Special Fields. Any email address with the correct format will do so you can add [email]noreply@mydomain.com[/email] or [email]user@example.com[/email] . . .
Bob
There is a buglet in the current ChronoForms that requires an email address in the General Tab even if there is a field specified in Special Fields. Any email address with the correct format will do so you can add [email]noreply@mydomain.com[/email] or [email]user@example.com[/email] . . .
Bob
Hi Bob,
I want to add [email]noreply@mydomain.com[/email] of curse, but I will still recive it (forwards to info@).
If i put [email]user@example.com[/email] or some other unkown email address it will look unproffessional.
Im gonna try to remove the email field from the mysql database to try if chrono works without an email, if it does then I will just simply add an javascript code that checks if there is a special field.
Adam<br><br>Post edited by: AdamG, at: 2008/03/31 19:38
I want to add [email]noreply@mydomain.com[/email] of curse, but I will still recive it (forwards to info@).
If i put [email]user@example.com[/email] or some other unkown email address it will look unproffessional.
Im gonna try to remove the email field from the mysql database to try if chrono works without an email, if it does then I will just simply add an javascript code that checks if there is a special field.
Adam<br><br>Post edited by: AdamG, at: 2008/03/31 19:38
Hi all,
Thank god I don't take No for an answer.
It's fixed. Change line 164 in admin.chronocontact.html.php
Original:
Simply change to this:
Adam
Thank god I don't take No for an answer.
It's fixed. Change line 164 in admin.chronocontact.html.php
Original:
if ((form.extraemail.value == '')||(form.emailsubject.value == '')||... the line goes on
Simply change to this:
if ((form.extraemail.value == '' && form["params[emailfield]"].value == '')||(form.emailsubject.value == '')||... the line goes on
If you want you can also change the Email subject, From name and From email. It's the same principal! But be careful, I only tested the Email field.
Adam
Hi,
Somebody of the submitter want a copy of their mail to me and somebody want it not, so i think it is usefull to make a checkbox where you can choose "yes you get an copy of your email" or " No, you get no copy.."
How can i this realize in Chronoforms?
thx
Somebody of the submitter want a copy of their mail to me and somebody want it not, so i think it is usefull to make a checkbox where you can choose "yes you get an copy of your email" or " No, you get no copy.."
How can i this realize in Chronoforms?
thx
Hi Tschoko,
In the OnSubmit before email box you need to check the value of the check box and set $rows[0]->emailresults = 0; to suppress the email.
Note: this will only work on the latest releases of ChronoFroms.
Bob
In the OnSubmit before email box you need to check the value of the check box and set $rows[0]->emailresults = 0; to suppress the email.
Note: this will only work on the latest releases of ChronoFroms.
Bob
Thx,
I have the latest release of ChronoForms.
Can you explain in detail, if you have a little bit time, plz?
Thanks a lot!
this is my box😉
I have the latest release of ChronoForms.
Can you explain in detail, if you have a little bit time, plz?
Thanks a lot!
this is my box😉
<input type="checkbox" name="copy" id="copy" tabindex="512" />
Hi Tschoko,
The checkbox will return a value of either 0 or 1 in $_POST['copy'] so in your OnSubmit before email code needs to be something like this:
Bob
The checkbox will return a value of either 0 or 1 in $_POST['copy'] so in your OnSubmit before email code needs to be something like this:
<?php
if ( !$_POST['copy'] ) {
$rows[0]->emailresults = 0;
}
?>
and this should do the trick (not tested so may be buggy).
Bob
thx,
but rember i want the email from the submitter in any chase😉
and the submitter can choose if he get a copy of the email, witch is send to me, back, too. So i have to specify the email witch i suppress in detail or not?
so my additional email field is "copyemail"
i just ned the php if and else code with "copyemail"
If the Button is set to 0 the copyemail should be empty😉
Thx
but rember i want the email from the submitter in any chase😉
and the submitter can choose if he get a copy of the email, witch is send to me, back, too. So i have to specify the email witch i suppress in detail or not?
so my additional email field is "copyemail"
i just ned the php if and else code with "copyemail"
If the Button is set to 0 the copyemail should be empty😉
Thx
Hi Tshocko,
If you just want to suppress the cc copy to the subscriber then you can set $paramsvalues->ccfield = ""; using the same code as my earlier post.
Bob
If you just want to suppress the cc copy to the subscriber then you can set $paramsvalues->ccfield = ""; using the same code as my earlier post.
Bob
Hi Tshocko,
If you just want to suppress the cc copy to the subscriber then you can set $paramsvalues->ccfield = ""; using the same code as my earlier post.
Bob
Thank you.
I stored the CC Email address in the field "fromemail"
So i have added in "special fields" CC field: fromemail.
But nothing happen...
Thank you.
I stored the CC Email address in the field "fromemail"
So i have added in "special fields" CC field: fromemail.
But nothing happen...
Hi Tschoko,
Please take a Form Backup in the Form Manager and post it here or email it to me at the address in my sig so I can take a closer look.
Bob
Please take a Form Backup in the Form Manager and post it here or email it to me at the address in my sig so I can take a closer look.
Bob
This topic is locked and no more replies can be posted.