i have cannot get the contact form plugin to work..the form works but i am not recieving any email...i have tried everthing. also, email works fine on comments so i dont think it is my host.
go to lab55.com
click on "contact"
does the contact page need to be somewhere other than theme/"yourtheme" directory?
Comments
I can receive emails about comments just fine, as to to every email from the system except from the Contact plugin.
Change line 191 of contact_form.php
`UTF8::send_mail(getOption("contactform_mailadress"), $subject, $message, $headers);`
to
`
$utf = new UTF8;
$utf->send_mail(getOption("contactform_mailadress"), $subject, $message, $headers);
`
A wild guess though...
No error in logs.
PHP version 5.2.5
Would you be interested in getting access to a folder to put up zenphoto on my server (surpass hosting)? to try out Zenphoto.
will give you ftp access to the folder and make a sql database for you.
just wondering about support in the future.
Replace
`UTF8::send_mail(getOption("contactform_mailadress"), $subject, $message, $headers);`
with
`mail(getOption("contactform_mailadress"), $subject, $message, $headers);`
`
mail(getOption("contactform_mailadress"), $subject, $message, $headers);
`
a try and it is a no go ether...
The offer to get space on my server is still up for you guys.
Please try also to use that function with plain text directly.
Thanks for the offer, but I currently don't know what to look for except the suggestion just made.
I have my mind set to a little project I am working for an exhibition right now so I might be a bit slow thinking at the moment on this case here. I really would like this problem solved as seem more people on the forum, and I am going to try to put as much time into testing as I can.
if not I will have a look at what you just said in few days and try to make some sense out of it for me to do some tests.
Thanks for your time yet again Malte.
P.s. I got an interesting error when I did some quick playing in the file.
`Parse error: syntax error, unexpected ')', expecting T_PAAMAYIM_NEKUDOTAYIM`
Regarding the mail function try that on a page directly like <?php mail(<your values>); ?> to see if that itself does work. It seems some servers do not sent mails.
`echo $subject; echo $message; echo $headers;`
Returned this.
`
Subject (Gallery)Message TitleName First Last Company Street City Country email@to.reply.to.test 1234567 http://www.test.com From: email@to.reply.to.test Reply-To: email@to.reply.to.test X-Mailer: PHP/5.2.5 Cc: email@to.reply.to.test
`
Screenshot for a better look at what was in the fields.
http://img.skitch.com/20081013-qsb2qwy31cfcts5x5hp6q5983g.jpg
`
Birthday Reminders for August
Here are the birthdays upcoming in August!
';
// To send HTML mail, the Content-type header must be set
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
// Additional headers
$headers .= 'To: Mary , Oli ' . "\r\n";
$headers .= 'From: Birthday Reminder ' . "\r\n";
$headers .= 'Cc: xxxxxx@xxxxxx.com' . "\r\n";
$headers .= 'Bcc: xxxxx@xxxxx.com' . "\r\n";
// Mail it
mail($to, $subject, $message, $headers);
?>
`
opened it and I got emails pretty much 1 sec later.
Screeshot
http://img.skitch.com/20081013-pfx7dji32kic8u3mtjk1afdk5b.jpg
its a no go.
its not something in the confirm process...??? its so strange this only happens on some servers.
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...
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.
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...