Problems with Email Form
Problems with Email Form
Hi I'm using phpwcms ver. 1.1-RC4 I have some problem with the Email form. I define the form fields in the following way:
IT|name|1|Your Name: |40,100||300
IT|mail|1|Your Email: |40,100||300
TA|text|0|Text: |20,3||300
SC|country|0|Country: |10,100|US|300
IH|redirect|0||10,100|http://www.misiu.dk/index.php?id=49,23,0,0,1,0|0
IH|redirect_error|1||10,100|http://www.misiu.dk/index.php?id=50,24,0,0,1,0|0
however instead of sending e-mail I get redirected to the starting page (http://www.misiu.dk (intro)). Weird thing is that sometimes it worked and actually the e-mail was sent correctly, but most of the time I get redirected to the intro page and nothinng is sent. Hope somebody could help me with this one!
Thanks in advance!
~ Michał
IT|name|1|Your Name: |40,100||300
IT|mail|1|Your Email: |40,100||300
TA|text|0|Text: |20,3||300
SC|country|0|Country: |10,100|US|300
IH|redirect|0||10,100|http://www.misiu.dk/index.php?id=49,23,0,0,1,0|0
IH|redirect_error|1||10,100|http://www.misiu.dk/index.php?id=50,24,0,0,1,0|0
however instead of sending e-mail I get redirected to the starting page (http://www.misiu.dk (intro)). Weird thing is that sometimes it worked and actually the e-mail was sent correctly, but most of the time I get redirected to the intro page and nothinng is sent. Hope somebody could help me with this one!
Thanks in advance!
~ Michał
Last edited by Misiu on Sun 12. Jun 2005, 00:12, edited 1 time in total.
Re: problems with Email Form
Yeah, I checked the phpwcms-docu.de documentation for Email Form, and to me it looks like all I did is o.k. ... I created a custom redirection ... but now I just don't know anymore ... I really can't find any errors ... problem is that sometime it sends sometimes doesn't ... recently however most often it doesn't, I thought there could be some problem with cache ... but I tried to clean up all the cache in my browser, close it down, open up again, restart computer, I even tried to log on as admin in one browser and view page in other ... nothing helps ... really hope you could help ...
~ Michał
~ Michał
Hi I installed the newest version 1.2.3, and it works fine. However, the problem with the Email Form still remains. Sometimes it works, sometime it doesn't ... I tried to send an email from my website and it worked fine. Later my friend tried the same and it didn't, finally I couldn't send anything either ... I was redirected to the starting page, in stead of the 'success' page, and nothig was sent. I thought it could have something to do with the cache. i delited it and then it worked for me, however it didn't for my fried. I tried to use the new 'Email contact form' ... the redirection works fine, however nothing gets send ... I never received any e-mail ... but the settings look fine to me. Is there anything special I need to do with the 'Email contact form', in order to make it send e-mails?Pappnase wrote:hello
before you create more content upgrade to version 1.2.3! thats teh recommend version wich you should use!
All the best
~ Michal
Hi,
I disabled cache, but unfortunately the situation stays the same ... the new 'Email contact form' works for the correct redirection i.e. to the success/error pages, however it doesn't send e-mail ... the old 'Email Form' after an attempt to send a message redirected me to the starting page.
Do we have any other options...?
thx in advance to all that could contribute...
~ Michal
I disabled cache, but unfortunately the situation stays the same ... the new 'Email contact form' works for the correct redirection i.e. to the success/error pages, however it doesn't send e-mail ... the old 'Email Form' after an attempt to send a message redirected me to the starting page.
Do we have any other options...?
thx in advance to all that could contribute...
~ Michal
hello
is right i have an error in the docu!
edit: have edit the docu
Code: Select all
IT|email|1|Your Email: |40,100||300
edit: have edit the docu
Hi Pepe,Pappnase wrote:hello
is right i have an error in the docu!Code: Select all
IT|email|1|Your Email: |40,100||300
edit: have edit the docu
I have corrected the IT|email|1|Your Email: |40,100||300 I turned off all the caching both when creating the 'Contact' in the site structure as well as creating the article. I have deleted the 'Contact' in the site structure and created it all again, just to see if that would change something.
My Email Form code looks as follows:
Code: Select all
IT|firstname|1|Your Name: |40,100|anon.|300
IT|email|1|Your Email: |40,100||300
SC|country|0|Country: |10,100|US|300
TA|info|0|Text: |20,3||300
IH|language|0||10,100|EN|0
IH|redirect|0||10,100|http://www.misiu.dk/index.php?success|0
IH|redirect_error|0||10,100|http://www.misiu.dk/index.php?error|0
The settings in the conf.inc.php are:
Code: Select all
// smtp values
$phpwcms['SMTP_FROM_EMAIL'] = 'my_email@my_domain.com'; // reply/from email address
$phpwcms['SMTP_FROM_NAME'] = 'Michal M. Biedrzycki'; // reply/from name
$phpwcms['SMTP_HOST'] = 'localhost'; // SMTP server (host/IP)
$phpwcms['SMTP_PORT'] = 25; // SMTP-Server port (default 25)
$phpwcms['SMTP_MAILER'] = 'mail'; // default phpMailer: smtp, mail (default), sendmail
$phpwcms['SMTP_AUTH'] = 0; // sets SMTP_AUTH to ON/OFF
$phpwcms['SMTP_USER'] = ''; // default SMTP login (user) name
$phpwcms['SMTP_PASS'] = ''; // default SMTP password
Hope we'll finally be able to somehow solve this issue....
Best regards from Copnehagen,
~ Misiu
Hey,
I finally got the Email Contact Form to work. I made a very simple form, looked through the http://www.phpwcms.de/forum/viewtopic.p ... email+form post and now it works. The only little problem is, when I get the e-mail, the sender field is empty ... it is simply sent from an unknown sender. The subject is there though? Any ideas??
Regrads,
~ Michal
I finally got the Email Contact Form to work. I made a very simple form, looked through the http://www.phpwcms.de/forum/viewtopic.p ... email+form post and now it works. The only little problem is, when I get the e-mail, the sender field is empty ... it is simply sent from an unknown sender. The subject is there though? Any ideas??
Regrads,
~ Michal