i am sure it is discussed on this forum but i can't find it.
my apologies.
worked through all the tutorials.
made a form.
it works, partly.
however i have a view questions
on the setup emails tab i dragged in to, subject, fromname, fromemail and filled in the fields. the box is green.
to is my email address, subject is formtestings, fromname is my first name, fromemail is my other email address.
on the general tab is email the results yes.
i receive an email on my other address, not on my to address.
is this correct or am i doing something wrong?
when i fill the form and use my third email address i don't receive the email there.
how can i make it that it is going to this address too?
thanks in advance.
hans
I've never seen this reported before. Many example sof emails not being sent or received. But never of them going to the Fromemail address.
Please turn debug on and take a screen shot after you submit the form and post it here or email or PM it to me.
Bob
thanks for your reply.
this is what i get after a debug:
_POST: Array ( [text_0] => test [text_1] => test [text_2] => test 1 [text_3] => 1234aa [text_4] => amsterdam [text_5] => 0201234567 [text_6] => 0612345678 [text_7] => [email]hans@example.nl[/email] [text_8] => 123456789 [text_9] => 01/01/1970 [text_10] => amsterdam [text_11] => dutch [Samenwonend] => Samenwonend [Geen] => Geen [radio0] => Nee [text_15] => [text_16] => [chrono_verification] => t7cwR [undefined] => Verstuur [e078ecdd69d1645c7e288ec6cd3f3791] => 1 )
E-mail message
From: E&N Horeca Support [aanmelden@example.nl]
To: [email]planning@example.nl[/email], [email]informatie@example.nl[/email], [email]hans@example.nl[/email]
Subject: Aanmelding via E&N Horecasupport
Achternaam: test
Voornaam: test
Straat en nummer: test 1
Postcode: 1234aa
Woonplaats: amsterdam
Telefoon: 0201234567
Mobiel: 0612345678
Email: [email]hans@example.nl[/email]
Sofinummer: 123456789
Geboortedatum: 01/01/1970
Geboorteplaats: amsterdam
Nationaliteit: dutch
Burgerlijke staat: Single - SamenwonendSamenwonend - Getrouwd
Rijbewijs: Geen{Rijbewijs_B}
Horeca-ervaring: NeeNee
Laatste opleiding:
Beschikbaarheid:
Submitted by 77.250.192.91
I assumed it only was sent to from email adres because the only addresses that receive the form are the first two of the to addresses. the last one, i, don't receive an email.
and when i fill out this form and send it i would like to receive it in my box [email]hans@example.nl[/email] too and i can't find or figure out how to do that.
thanks for your support.
hans
I suspect that the problem is the spaces in this line
planning@example.nl, informatie@example.nl, hans@example.nl
Try a comma separated list with no spaces.You can send to the form submitter by adding a Dynamic To box to the Email Setup and putting text_7 in the box (no quotes, no brackets).
Bob
PS I'll edit out the domain names for security.
thanks for your reply.
did the dynamic to.
the to addresses are filled in without a space.
somehow someway the spaces occur.
is it a sollution to make three or more to fields?
regards,
hans
There should be no problem with having more than two fields in the To box, ChronoForms just turns the list into an array and passes them all to the mailer.
Are any of the addresses aliases for the From mailbox? That can cause missing emails.
You can try more To fileds but I don't think ChronoForms will use more than one.
You can use the CC field - provided that your mailer is not 'PHP Mail Function' as that does not support CC or BCC entries.
Bob
will do some tests wheni am back.
have a job outside.
let you know.
hans
I've tried everything but it just keep turning up blank with just the email address in the email.
thanks,
Michael Kadrie
you can't use names for the "from email", you need an email address, how did you try to combine them ? if you mean to combine them to be the "Dynamic from name" then a line of code is needed!
Regards,
Max
It's hard to believe that this is the first time that someone has had this question or issue. A lot of forms gather the names separately so I just thought that there would be a way to do that with the email forms.
Thanks for your reply. Looks like I'll have to customize something. Might be of interest to include something like this in future upgrades.
i didn't come back on this topic because i work out of home.
just back from a very, very long day.
next week i do some testing and have some questions.
again, thanks for your attention and advice.
hans
Ok, I understand what you want now, there is a solution for this of course, but it needs one line of code, add in the Dynamic From some non existent field name like :full_name, then in the onSubmit before email box add this code:
<?php
JRequest::setVar('full_name', JRequest::getVar('firstname')." ".JRequest::getVar('lastname'));
?>
this will do it!
Cheers
Max
That worked like a charm.
Thanks again for your help.
Mike