Pages (3): 1 2 3   
Member
Member
lionel77   08-10-2008, 16:22
#1

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?

Administrator
Administrator
acrylian   08-10-2008, 16:30
#2

Looks everything alright. Did you fill in a email adress in the plugin's options? The plugin as stated in the doc does not use the admin email adress.

Member
Member
lionel77   08-10-2008, 17:15
#3

i have tried a few different email addresses, still nothing.. any other ideas?

Administrator
Administrator
acrylian   08-10-2008, 17:47
#4

I am sorry, I have no idea. It's working on my host. The function that is used for mailing is basically the function that is used for the comments mail, too.

Member
Member
olihar   10-10-2008, 10:46
#5

I still have this same problem as lionel77, and I posted about it some weeks back in a thread.

I can receive emails about comments just fine, as to to every email from the system except from the Contact plugin.

Administrator
Administrator
acrylian   10-10-2008, 11:40
#6

I would love to solve that but it's hard without being able to reproduce it. Do you get any error in your log? Which php version do you both run? Lacking other ideas I now have a suspicion that we maybe have a php version conflict here. Could you please try the following:

Change line 191 of contact_form.php
UTF8:end_mail(getOption("contactform_mailadress"), $subject, $message, $headers);
to
$utf = new UTF8; $utf->send_mail(getOption("contactform_mailadress"), $subject, $message, $headers);
A wild guess though...

Member
Member
olihar   10-10-2008, 12:39
#7

I gave this a try, no change.

No error in logs.

PHP version 5.2.5

Member
Member
olihar   11-10-2008, 03:26
#8

@acrylian

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.

Administrator
Administrator
acrylian   12-10-2008, 14:21
#9

A thing you could try is to use the pure php function mail() without our utf8-stuff.
Replace
UTF8:end_mail(getOption("contactform_mailadress"), $subject, $message, $headers);
with
mail(getOption("contactform_mailadress"), $subject, $message, $headers);

Administrator
Administrator
acrylian   13-10-2008, 08:42
#10

Please also read the entry on php mail here: http://de.php.net/manual/en/function.mail.php

Member
Member
olihar   13-10-2008, 12:40
#11

I gave

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.

Administrator
Administrator
acrylian   13-10-2008, 12:51
#12

Could you please add a line before that to print the variables? Maybe somehow some are empty or whatever so that it prevents from sending.. The contact form is regarding the actual mailing really nothing that special....

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.

Member
Member
olihar   13-10-2008, 14:15
#13

Do you care to explain this a bit better please? Code wise.

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

Administrator
Administrator
acrylian   13-10-2008, 15:40
#14

I mean just add before the mail part a simple echo $subject; echo $message; echo $headers so that we can see their values. Maybe somehow the post data is not going through.

Regarding the mail function try that on a page directly like to see if that itself does work. It seems some servers do not sent mails.

Member
Member
stevenew   13-10-2008, 16:10
#15

Hi acrylian, thanks for the pointer over to this thread. I tried usingmail(getOption("contactform_mailadress"), $subject, $message, $headers); but no luck.

Member
Member
olihar   13-10-2008, 16:20
#16

ahh yeah... I did a quick test.

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

Administrator
Administrator
acrylian   13-10-2008, 16:39
#17

Looks quite normal I would say. I am really clueless then...

Member
Member
olihar   13-10-2008, 16:40
#18

I just made a random php file and put it into a folder on my server with an example from the page you posted.

`

`
opened it and I got emails pretty much 1 sec later.

Screeshot
http://img.skitch.com/20081013-pfx7dji32kic8u3mtjk1afdk5b.jpg

Administrator
Administrator
acrylian   13-10-2008, 16:48
#19

Ah, probably it's the missing mime-version and content type then. Could you add these two to the contact_form.php in line 161/162?

Member
Member
olihar   13-10-2008, 17:42
#20

well only if it was that simple... Well I guess it does not hurt to put it in the code however....

its a no go.

its not something in the confirm process...??? its so strange this only happens on some servers.

Pages (3): 1 2 3   
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.