email contact form
hi,
my contact formmailer is not working...
could it be a problem with php safe mode on?
here is a small screenshot of my php config:
also i changed the config.inc.php:
i don´t know what the problem could be...
you can test the form here:
http://www.ch-lippmann.de/wcms/index.php?kontakt
thx
chris
---------------------------------------------------------------------------------
Vielleicht hier nochmal alles auf deutsch:
Ich kann über das Email Kontakt Formular keine Mails versenden.
Die config.inc.php habe ich geändert auf sendmail, denn das habe ich in der phpinfo gelesen. Weiß leider nicht ob das so richtig ist. Aber SMTP funzt ja auch nicht. So denn habe ich überlegt, ob es vielleicht daran liegen könnte das das PHP bei meinem Provider auf SAFE MODE ON geschaltet ist und der es nicht umstellen will wegen Sicherheitsrisiken.
Auf der anderen Seite habe ich einen Beitrag vorher die Fehlermeldung angegeben, dass irgendwelche Includes nicht funktionieren in der class.phpmailer.php.
Ich wäre sehr dankbar, wenn mir jemand da weiterhelfen könnte.
Habe absolut keine Ahnung woran das liegt...
Greetz
Chris
my contact formmailer is not working...
could it be a problem with php safe mode on?
here is a small screenshot of my php config:
also i changed the config.inc.php:
Code: Select all
$phpwcms['SMTP_MAILER'] = 'sendmail'; // default phpMailer: smtp, mail (default), sendmail
you can test the form here:
http://www.ch-lippmann.de/wcms/index.php?kontakt
thx
chris
---------------------------------------------------------------------------------
Vielleicht hier nochmal alles auf deutsch:
Ich kann über das Email Kontakt Formular keine Mails versenden.
Die config.inc.php habe ich geändert auf sendmail, denn das habe ich in der phpinfo gelesen. Weiß leider nicht ob das so richtig ist. Aber SMTP funzt ja auch nicht. So denn habe ich überlegt, ob es vielleicht daran liegen könnte das das PHP bei meinem Provider auf SAFE MODE ON geschaltet ist und der es nicht umstellen will wegen Sicherheitsrisiken.
Auf der anderen Seite habe ich einen Beitrag vorher die Fehlermeldung angegeben, dass irgendwelche Includes nicht funktionieren in der class.phpmailer.php.
Ich wäre sehr dankbar, wenn mir jemand da weiterhelfen könnte.
Habe absolut keine Ahnung woran das liegt...
Greetz
Chris
Hallo,
habe es jetzt doch hinbekommen und zwar musste ich folgende Einstellungen in der config.inc.php vornehmen:
Jetzt funktioniert der Form Mailer
----------------------------------------------------------------------------------
hello,
i did following changes in my config.inc.php and now the contact form mailer works fine!!!
habe es jetzt doch hinbekommen und zwar musste ich folgende Einstellungen in der config.inc.php vornehmen:
Code: Select all
$phpwcms['SMTP_MAILER'] = 'mail'; // default phpMailer: smtp, mail (default), sendmail
$phpwcms['SMTP_AUTH'] = 0; // sets SMTP_AUTH to ON/OFF
----------------------------------------------------------------------------------
hello,
i did following changes in my config.inc.php and now the contact form mailer works fine!!!
Code: Select all
$phpwcms['SMTP_MAILER'] = 'mail'; // default phpMailer: smtp, mail (default), sendmail
$phpwcms['SMTP_AUTH'] = 0; // sets SMTP_AUTH to ON/OFF
I have the form working and it displays the appropriate message on success or failure. However, I only got it to work by:
1) Turning off caching in main page of article (a tip from Ruby earlier in this thread).
2) Selecting SMTP as mail delivery method.
3) Setting 'Kopie an' to any field *except* email (so a copy is not sent).
I can't get it to work at all using PHP mail.
1) Turning off caching in main page of article (a tip from Ruby earlier in this thread).
2) Selecting SMTP as mail delivery method.
3) Setting 'Kopie an' to any field *except* email (so a copy is not sent).
I can't get it to work at all using PHP mail.
in the field at the bottom insert the following:dexter wrote:oh oh the form content part seems to be realy bugy. my form works great. i can sent, get a success message(although the success field is not selected) and the message arrives, but without content.
any suggestion?
if you have a textfield called »name« you have to put in the last field Name : {name}
repeat this with the other fields.
that should work
cheers
rush
3 (!) Jahre warten reichen mir. Ich bin erst mal weg.
About that redirection thing:
I assume that you only have to check the box, if you want to redirect to a given page in your site (remember the site aliases). If you type in a text like "thanx for the..." then phpwcms might search fot that alias - of yourse there is no such. It ends in an error 404.
Ok, these were my thoughts on that.
The other, more important thing is that the mail I receive is empty.
:O :O
I remeber having such problems sincew my hosting cpy switched to php safe on and stuff.
I think it had to do sth. with variables. This is an annoying issue and i got no clue how to cope with that.
Schluch you said you changed these lines:
But this is the original setting and doesnt work for me.
Help!
I assume that you only have to check the box, if you want to redirect to a given page in your site (remember the site aliases). If you type in a text like "thanx for the..." then phpwcms might search fot that alias - of yourse there is no such. It ends in an error 404.
Ok, these were my thoughts on that.
The other, more important thing is that the mail I receive is empty.
:O :O
I remeber having such problems sincew my hosting cpy switched to php safe on and stuff.
I think it had to do sth. with variables. This is an annoying issue and i got no clue how to cope with that.
Schluch you said you changed these lines:
Code: Select all
$phpwcms['SMTP_MAILER'] = 'mail'; // default phpMailer: smtp, mail (default), sendmail
$phpwcms['SMTP_AUTH'] = 0; // sets SMTP_AUTH to ON/OFF
Help!
2008
too blind to see....
I found it out myself.
Sorry for being panic, the solution for receiving empty emails is so easy.
Ok, nothing with safemode, i am very erleichtert now.
Ok the essential parts from this topic in short:
1. Dont check the box with the success text unless you want to direct to a certain site alias.
2. If you receive empty emails, you just forgot to create an email template in the bottom of the email contact form content part.
Great i love this content part.
Now only the group user right thing and frontend login is missing
Sorry for being panic, the solution for receiving empty emails is so easy.
I just forgot to fill in a template in the bottom of this content part. Arggg..oh oh the form content part seems to be realy bugy. my form works great. i can sent, get a success message(although the success field is not selected) and the message arrives, but without content.
Ok, nothing with safemode, i am very erleichtert now.
Ok the essential parts from this topic in short:
1. Dont check the box with the success text unless you want to direct to a certain site alias.
2. If you receive empty emails, you just forgot to create an email template in the bottom of the email contact form content part.
Great i love this content part.
Now only the group user right thing and frontend login is missing
2008
Hi phalancs,
das mit der Vorlage steht aber auch so auf der phpwcms-docu.de-Seite:
Joachim
***********************************************************
Hi phalancs,
the phpwcms-docu site contains this description:
Joachim
das mit der Vorlage steht aber auch so auf der phpwcms-docu.de-Seite:
Nachdem ich mir gerade noch einmal den Quellcode des Email-Kontaktformulars angeschaut habe, bin ich auch der Meinung, das in die "Bei Erfolg" und "Bei Fehler" Felder ein Alias reingehört. Ich habe die Docu dementsprechend angepasst.Vorlage:
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
***********************************************************
Hi phalancs,
the phpwcms-docu site contains this description:
After looking once more into the source code of the email contact form, my opinion is also that an alias must be inserted into the "on error" and "on success" fields. I have corrected the documentation.template:
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.
Joachim
Hello all,
I recently posted a problem in http://www.phpwcms.de/forum/viewtopic.php?t=8654 but now I discovered this topic. Perhaps there is anyone here who has a solution to the following:
I have a form with checkboxes that are required to fill out for the user, but when the form is submitted no error is thrown when the user selects none of the checkboxes. The same goes for multiple selection lists...
Any suggestions?
I recently posted a problem in http://www.phpwcms.de/forum/viewtopic.php?t=8654 but now I discovered this topic. Perhaps there is anyone here who has a solution to the following:
I have a form with checkboxes that are required to fill out for the user, but when the form is submitted no error is thrown when the user selects none of the checkboxes. The same goes for multiple selection lists...
Any suggestions?
required fields
I am sorry for this topic kick, but I still have not been able to get checkboxes to be required... anybody?