Hi there,
First: Thanks for the great work on your component. It's a great tool really.
Now, I have a problem and I haven't been able to find anything on the subject in the forum:
I have set up a contact form on a website with a field "your email address'. It's not mandatory to fill out the field.
The name of the field is 'Email'. On submit I want to send a copy of the mail to the value of 'Email'. So I put 'Email' into the special field 'Email field:'.
Of course there's a value in the general field 'Email Adress(es):' because I want the mail to be sent to that value no matter if the user has filled out the field "your email address".
What I get is mixed results. Sometimes the mails ARE being sent, sometimes they AREN'T. It all depends on whether the field "your email address" has been filled out or not. What am I doing wrong? How do I have to fill out the settings-section in order to have one email adress, which always receives the mail, and one email address which receives the mail when the corresponding field has been filled out?
Thanks for your help,
Sven
First: Thanks for the great work on your component. It's a great tool really.
Now, I have a problem and I haven't been able to find anything on the subject in the forum:
I have set up a contact form on a website with a field "your email address'. It's not mandatory to fill out the field.
The name of the field is 'Email'. On submit I want to send a copy of the mail to the value of 'Email'. So I put 'Email' into the special field 'Email field:'.
Of course there's a value in the general field 'Email Adress(es):' because I want the mail to be sent to that value no matter if the user has filled out the field "your email address".
What I get is mixed results. Sometimes the mails ARE being sent, sometimes they AREN'T. It all depends on whether the field "your email address" has been filled out or not. What am I doing wrong? How do I have to fill out the settings-section in order to have one email adress, which always receives the mail, and one email address which receives the mail when the corresponding field has been filled out?
Thanks for your help,
Sven
Hi sruef,
Are you new to Chronoforms ? if so then get V3.0 BETA 2 and this will solve the issue easily!
Are you new to Chronoforms ? if so then get V3.0 BETA 2 and this will solve the issue easily!
Hi Sven,
If you turn on debug what shows in the To Email field when you don't have a user email submitted? I wonder if there is some default value in there - maybe just a space - that is causing a problem.
Bob
If you turn on debug what shows in the To Email field when you don't have a user email submitted? I wonder if there is some default value in there - maybe just a space - that is causing a problem.
Bob
Hi GreyHead,
Here's What the Debugger says:
_POST: Array ( [Nachname] => test [Vorname] => test [Telefon] => test [Email] => [Anstellungsdauer] => test [Arbeitspensum] => test [Erreichbarkeit] => test [Anstellung] => Stundenlohn [Vertrag] => Ja [Problem] => test [Bestaetigung] => ja )
Case 1: Use table layout
E-mail: 'Yes' custom
Email not sent
There's no spacer in the variable Email, yet the e-mail is not being sent.
Here's What the Debugger says:
_POST: Array ( [Nachname] => test [Vorname] => test [Telefon] => test [Email] => [Anstellungsdauer] => test [Arbeitspensum] => test [Erreichbarkeit] => test [Anstellung] => Stundenlohn [Vertrag] => Ja [Problem] => test [Bestaetigung] => ja )
Case 1: Use table layout
E-mail: 'Yes' custom
Email not sent
There's no spacer in the variable Email, yet the e-mail is not being sent.
Hi Sven,
I see the 'Email not sent' message there which means that Joomla was unable to send it. What's in the dummy email block just after that message?
Bob
I see the 'Email not sent' message there which means that Joomla was unable to send it. What's in the dummy email block just after that message?
Bob
Hi GreyHead,
Thanks for taking the time.
Here's the full debug output:
_POST: Array ( [Nachname] => test [Vorname] => test [Telefon] => test [Email] => [Anstellungsdauer] => test [Arbeitspensum] => test [Erreichbarkeit] => test [Anstellung] => Stundenlohn [Vertrag] => Nein [Problem] => test [Bestaetigung] => ja )
Case 1: Use table layout
E-mail: 'Yes' custom
Email not sent
E-mail message
From: Ombudsstellen-Formular [info@test.ch]
To: [email]info@test.ch[/email],
Subject: <!-- w --><a class="postlink" href="http://www.test.ch">www.test.ch</a><!-- w --> - Ombudsstellen-Formular
Nachname test
Vorname test
Telefon test
Email
Anstellungsdauer test
Arbeitspensum test
Erreichbarkeit test
Anstellung Stundenlohn
Vertrag Nein
Problem test
Bestaetigung ja
Submitted by 212.101.9.144
Thanks for taking the time.
Here's the full debug output:
_POST: Array ( [Nachname] => test [Vorname] => test [Telefon] => test [Email] => [Anstellungsdauer] => test [Arbeitspensum] => test [Erreichbarkeit] => test [Anstellung] => Stundenlohn [Vertrag] => Nein [Problem] => test [Bestaetigung] => ja )
Case 1: Use table layout
E-mail: 'Yes' custom
Email not sent
E-mail message
From: Ombudsstellen-Formular [info@test.ch]
To: [email]info@test.ch[/email],
Subject: <!-- w --><a class="postlink" href="http://www.test.ch">www.test.ch</a><!-- w --> - Ombudsstellen-Formular
Nachname test
Vorname test
Telefon test
Anstellungsdauer test
Arbeitspensum test
Erreichbarkeit test
Anstellung Stundenlohn
Vertrag Nein
Problem test
Bestaetigung ja
Submitted by 212.101.9.144
Hi sruef,
I think that the problem is with the ', ' in the To email. There is a space in the html though I'm not sure where it comes from.
Are you using v3.0? I've just looked and the code there isn't quite a thorough in it's check as v 2.5 was.
Bob
PS You have the same email address in the Form & To fields. I don't think that Joomla checks this but some ISPs do. Please test with two different addresses.
I think that the problem is with the ', ' in the To email. There is a space in the html though I'm not sure where it comes from.
Are you using v3.0? I've just looked and the code there isn't quite a thorough in it's check as v 2.5 was.
Bob
PS You have the same email address in the Form & To fields. I don't think that Joomla checks this but some ISPs do. Please test with two different addresses.
This topic is locked and no more replies can be posted.