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.
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
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...
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...
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.
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://
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..:-(
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' :-)