Page 1 of 1

Email Contact Form problem

Posted: Sun 26. Mar 2006, 20:20
by Darkmatter
I've read the topics such as http://www.phpwcms.de/forum/viewtopic.php?t=6486 concerning problems with earlier versions of this CP, however I'm still having trouble with it.

It works great if I have no redirect to an alias. If I check the redirect on success box with a link, I never get email.

$phpwcms['SMTP_MAILER'] = 'smtp'; // default phpMailer: smtp, mail (default), sendmail
$phpwcms['SMTP_AUTH'] = 1; // sets SMTP_AUTH to ON/OFF
$phpwcms['SMTP_USER'] = '*****@******.com'; // default SMTP login (user) name
$phpwcms['SMTP_PASS'] = '***********'; // default SMTP password

Those are my settings and they WORK without the redirect. Any thoughts?

Posted: Sun 26. Mar 2006, 21:28
by Klappstuhl28
Hi darkmatter,

i don´t know if i remember right, but i think you mustn´t
choose the select-field for redirection. Just enter the html-code
into the on succes field and that should be all.

I hope this helps

Lars

Posted: Mon 27. Mar 2006, 19:23
by Darkmatter
Klappstuhl28 wrote:Hi darkmatter,

i don´t know if i remember right, but i think you mustn´t
choose the select-field for redirection. Just enter the html-code
into the on succes field and that should be all.

I hope this helps

Lars
Hi Lars,

HTML code as in just to disply a success text or to redirect to another existing page? HTML works fine so I'll do that for now, thanks.

Posted: Mon 27. Mar 2006, 19:45
by Klappstuhl28
Hi darkmatter,

it also works when you just link to another site.
There you just have to write the normal
link-tags. The main-point is, that you
just have to left open the select-field
to get this work.

If you want to try it, just open the
content-part two times. In one you
can try any changes and one to safe
the original settings.

If the changes doesn´t work you just
ckick the safe-button in the safe one
and you get the old settings back.

Glad that it works now

Posted: Mon 27. Mar 2006, 20:02
by Darkmatter
Klappstuhl28 wrote:Hi darkmatter,

it also works when you just link to another site.
There you just have to wright the normal
link-tags. The main-point is, that you
just have to left open the select-field
to get this work.

If you want to try it, just open the
content-part two times. In one you
can try any changes and one to safe
the original settings.

If the changes doesn´t work you just
ckick the safe-button in the safe one
and you get the old settings back.

Glad that it works now
Actually, I spoke too soon... When I try to place HTML tags in the "on success" field and update, it removes the tags and leaves the text. ??? All I can do is place text, which is unformatted.

Posted: Mon 27. Mar 2006, 23:03
by Klappstuhl28
Have you tried to enter just the alias of the redirection-site.
With the f...... hook or not?

Ok that a message without redirection works by
just entering some "thank you, ..."
i know, because that´s what i´m workin´with.

Posted: Tue 28. Mar 2006, 00:13
by Darkmatter
As long as you check the box, it doesn't send email, whether the address you put in there is good or not. It only works with plain text and without the box checked. Seems like a flaw to me unless someone can clear up this mystery.