Search…

X3 Photo Gallery Support Forums

Search…
 
fgueho
Topic Author
Posts: 10
Joined: 03 May 2011, 19:18

Could not instantiate mail function

04 May 2011, 18:37

I'm on my own server.
When I try to send an email from the contact form, I have : "Could not instantiate mail function".

You can test it here :
http://88.191.136.19/focalefixe.fr/

I've tried the "imagevue-check" :
http://88.191.136.19/focalefixe.fr/iv-i ... -check.php

And it works !

The mail function from the command line (on SSH) or from a simple PHP script is also working properly.
So I just don't understanf how the contact form can't send a mail...

Thanks for your help.

Fred
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

Re: Could not instantiate mail function

04 May 2011, 23:53

Try to set forceFrom to 'none' or to your email address from your own server. Another option would be to switch to SMTP email.
firedev.com
 
fgueho
Topic Author
Posts: 10
Joined: 03 May 2011, 19:18

Re: Could not instantiate mail function

05 May 2011, 04:42

I'm not sure to understand.
Do you mean I have to modifiy something in the php.ini ?
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

Re: Could not instantiate mail function

05 May 2011, 04:55

It's actually in Settings>Email:

Image

Although I am not sure if it's in 2.6.4 or appeared in 2.7beta, which you are welcome to try anyway.
firedev.com
 
fgueho
Topic Author
Posts: 10
Joined: 03 May 2011, 19:18

Re: Could not instantiate mail function

07 May 2011, 10:14

Ok, I found what was the problem : a missing parameter in my postfix configuration.

Tks