ZenphotoCMS Forum
contact_form plugin not working - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: contact_form plugin not working (/thread-2971.html)

Pages: 1 2 3


contact_form plugin not working - stevenew - 2008-10-13

acrylian, not sure if I completely understand all this but I tried olihar's php file above and it worked (well the mails got caught in my servers spam filter) so I added the mime and content headers to contact_form.php in line 161/162 as you suggest but still no mail arriving.


contact_form plugin not working - acrylian - 2008-10-13

Hm, well... Anyway, I have added the missing headers to the form and made a version with the zenphoto modified zenphoto mail function and one with the standard mail(). Please try both.You can download both here: http://zenpage.maltem.de/zenpage/contactforms.zip


contact_form plugin not working - stevenew - 2008-10-13

Downloaded the zip and tried both versions, still nothing:-(


contact_form plugin not working - olihar - 2008-10-13

yeah I 2nd that.

I wonder what happens if the confirm feature would not be there...

Could there be a connection between this and the bug I found about the subject field...

They who can get it to work are they all on the same PHP version and visa versa for the ones having problems...


contact_form plugin not working - stevenew - 2008-10-13

I'm on php 4.4.4


contact_form plugin not working - olihar - 2008-10-13

`
Apache version 1.3.41 (Unix)
PHP version 5.2.5
MySQL version 5.0.51a-community
Architecture x86_64
Operating system Linux
`
And yes not working.


contact_form plugin not working - acrylian - 2008-10-13

olihar, I think you hit the nail.... Shame on me...


contact_form plugin not working - olihar - 2008-10-13

hehe... please explain...


contact_form plugin not working - acrylian - 2008-10-13

The confirm button posts a form but it does not post subject, headers and message so they will be empty on the actual mail send since posting a form clears variables.... That's actually a beginner's mistake...I wonder why I did not discover that in my tests...

Here is a new version, please test it again to be sure before I put it into the svn:
http://zenpage.maltem.de/zenpage/contactform-reloaded.zip

Thanks you both for you patience and helping fix this...


contact_form plugin not working - olihar - 2008-10-13

just tested no change... Strange as well that before you made this change it worked for you...


contact_form plugin not working - acrylian - 2008-10-13

The one uses the UTF8:Confusedend_mail part. Maybe try using mail() directly again...


contact_form plugin not working - olihar - 2008-10-13

that was the first thing I tried to do... same.. no go


contact_form plugin not working - stevenew - 2008-10-13

Still nothing here...


contact_form plugin not working - acrylian - 2008-10-13

I apologize for the trouble. It's not working for me anymore, too....I could swear it did the last time. Must be related with some changes in the last version... Anyway, I need to take a real closer look and I surely will fix it. Please stay tuned on this thread.


contact_form plugin not working - olihar - 2008-10-13

will do, thanks a lot Malte.


contact_form plugin not working - stevenew - 2008-10-13

Certainly will and thanks for your help.


contact_form plugin not working - sbillard - 2008-10-13

I've made a number of fixes to this plugin in [2749]. You can either get it from the SVN or wait for tonight's nightly build. Anyway, I think you will find it working now. But let us know.


contact_form plugin not working - olihar - 2008-10-14

I can confirm this working now, thanks... Now I am wondering a bit about the layout of the email being sent.

wouldn't be great to have some kind of layout instead of 1 flowing line.

As well I am getting some extra stuff in the email.

The fields I have in my small test are.

Name
Email
Phone
Subject

However what I get in the email is 1 line of

all that and an Extra saying Company and http://


contact_form plugin not working - acrylian - 2008-10-14

btw the main reason for the not sent email was a typo related to the different writing of "address" in German (it's "Adresse" there...). I just didn'T see it...

The one line issue is probably because there are only "\n" at the end of the lines but it should apparently be "\r\n"... Ah, these details..:-(


contact_form plugin not working - stevenew - 2008-10-14

Thanks for all your work on this guys.

Its working for me, the form submission is now being received at the email address I have entered in contact_form plugin options but it was getting caught in my hosts spam filter every time as it was being seen as being sent from something like `userxxxx@myhost.customer.net` (which from the long mail header seems to be the return path) as opposed to the email address set in contact_form plugin options or on the form. So I have had to enter this `userxxxx@myhost.customer.net` in my white list, something other users of this plugin may experience.

Thanks again, acrylian later I'll be going back over to the other thread about getting this plugin to work in a 'zenpage page' :-)