
Email Forms not workin
Email Forms not workin
I am running DEV 1.2.3 but when I set up an email contact form, no email is sent. Any ideas on why that might be? 

which email form are you using? the 'email generator' or 'email contact form'
have you followed the docs? phpwcms-docu: email contact form
phpwcms-docu: email form generator
are you using SMTP to sned your mail? if so are the details in conf.inc.php complete & correct?
if not: are your email setting in conf.inc.php correct?
have you followed the docs? phpwcms-docu: email contact form
phpwcms-docu: email form generator
are you using SMTP to sned your mail? if so are the details in conf.inc.php complete & correct?
if not: are your email setting in conf.inc.php correct?
I know this is being reported in other threads...so just going to add this here. Yes, I too was having problems with the new (and quite elegant) email contact form (dev version).
What I found out is that the actual names of form elements MUST be added to the template section (text/html options) - otherwise you get a blank email. Pappnase.....if you read this please add this to your docu site....(update: thanks jscholtysik for making those changes)
ie: template: text
BTW: I did find out the {rep tags} are fully compatible with this content part....so I was able to apply a rep tag expression to a checkbox. I had a particular requirement to display prices of items site wide:
http://www.phpwcms.de/forum/viewtopic.php?t=7639
Bascially declaring the price in the article itself:
And displaying it in the checkbox code like this:
Very nice content part!
Thanks Oliver
What I found out is that the actual names of form elements MUST be added to the template section (text/html options) - otherwise you get a blank email. Pappnase.....if you read this please add this to your docu site....(update: thanks jscholtysik for making those changes)
ie: template: text
Code: Select all
{Name}
{Checkbox}
{Email}
http://www.phpwcms.de/forum/viewtopic.php?t=7639
Bascially declaring the price in the article itself:
Code: Select all
{SET_PRICE:55.99}
Code: Select all
//NAME:
{GET_PRICE:8}
//outputs the article title and price of article ID 8
Thanks Oliver

Last edited by jsw_nz on Thu 14. Jul 2005, 19:57, edited 1 time in total.
Hi John,
I have changed the description of the template field in the docu site both in english and german part. I hope it is now clear for all...
English:
Joachim
I have changed the description of the template field in the docu site both in english and german part. I hope it is now clear for all...

English:
German:Here you have to insert a template, otherwise you will be sent a blank email. This template can be created as a text template or as an html template. In the templates you can use all field names of the form.
Hier muß ein Template eingegeben werden, sonst erhalten Sie eine leere Email zugesendet. Dieses Template kann als Text-Template oder als HTML-Template erstellt werden. In den Templates können Sie alle Namensfelder des Formulars verwenden.
Joachim
Hello,
What should the email settings in the conf.inc.php look like. I do not have it setup to email with smtp. I have the email contact form made and the form shows up properly, but when I hit sumbit query it just brings up The Page Cannot be found error . Any ideas? I am new to all of this so it could be something quite simple.
Thanks,
adam
What should the email settings in the conf.inc.php look like. I do not have it setup to email with smtp. I have the email contact form made and the form shows up properly, but when I hit sumbit query it just brings up The Page Cannot be found error . Any ideas? I am new to all of this so it could be something quite simple.
Thanks,
adam
remove the checked boxes after success and error in the contentpart contact. that should do it.Rubaflo wrote:Hello,
What should the email settings in the conf.inc.php look like. I do not have it setup to email with smtp. I have the email contact form made and the form shows up properly, but when I hit sumbit query it just brings up The Page Cannot be found error . Any ideas? I am new to all of this so it could be something quite simple.
Thanks,
adam
cheers
rush
3 (!) Jahre warten reichen mir. Ich bin erst mal weg.
Thanks Rush.....I unchecked those boxes. Now when I try and submit the email form without all fields filled in the proper error message displays. However, with everything filled in I get this message upon submitting:
Language string failed to load: instantiate
I have no idea what this means. Any ideas?
Thanks for anyones and everyones help!
~adam
Language string failed to load: instantiate
I have no idea what this means. Any ideas?
Thanks for anyones and everyones help!
~adam
same problem
hey guys,
I'm having the same problem rubaflo had. Instantiate message. Wondering if anyone could tell me what language file might be missing or if it was solved otherwise.
Thanks,
John
I'm having the same problem rubaflo had. Instantiate message. Wondering if anyone could tell me what language file might be missing or if it was solved otherwise.
Thanks,
John