Forums

Sending e-mail issues

hanszuidinga 18 Jun, 2009
Hi,
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
GreyHead 19 Jun, 2009
Hi 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
hanszuidinga 19 Jun, 2009
hi 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
GreyHead 19 Jun, 2009
Hi 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.
hanszuidinga 19 Jun, 2009
hi Bob,

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
GreyHead 19 Jun, 2009
Hi 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
hanszuidinga 19 Jun, 2009
hi Bob,
will do some tests wheni am back.
have a job outside.
let you know.
hans
michaelkadrie 02 Jul, 2009
I have a First Name and a Last Name in my form. Why can't I combine those in a Dynamic From email form?
I've tried everything but it just keep turning up blank with just the email address in the email.
thanks,
Michael Kadrie
Max_admin 02 Jul, 2009
Hi Michael,

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
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
michaelkadrie 03 Jul, 2009
In the Dynamic From I was just using the names of the fields first_name last_name. I also tried first_name, last_name. Doesn't work. When I use one or the other it works just fine. Come through my email as Lastname <email@email.com>. Just didn't know if there was some method that I was missing. Not much documentation out there for using the Dynamic fields. I was just guessing to begin with. You need some more information out there on this subject matter.
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.
hanszuidinga 03 Jul, 2009
hi Greyhead,

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
Max_admin 03 Jul, 2009
Hi Michael,

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
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
michaelkadrie 04 Jul, 2009
Max,
That worked like a charm.
Thanks again for your help.
Mike
This topic is locked and no more replies can be posted.