Page 1 of 1

Could not instantiate mail function

Posted: 17 May 2010, 10:56
by jplelay
Hello,

When a end-user want to put a message in our guest-book, he receive the following message :
Could not instantiate mail function.
I checked my configuration and my email address is right indicated.

What can I do ?

Regards.

J.P. LE LAY

Re: Could not instantiate mail function

Posted: 17 May 2010, 13:45
by Jan
Hi, check the mail function, the post was added to guestbook but while sending the mail, the mail could not be sent. The mail is sent by Joomla! framework mail function, so this needs to be checked in Global Configuration of Joomla!



Jan

Re: Could not instantiate mail function

Posted: 17 May 2010, 14:50
by jplelay
Hi,

I checked the email function in Joomla and it would seem that it is well configured.

J.P. LE LAY

Re: Could not instantiate mail function

Posted: 17 May 2010, 18:50
by Jan
In such case no idea there as the mail is sent by Joomla! frameworks send function :-(

Re: Could not instantiate mail function

Posted: 21 Aug 2010, 02:13
by Dietmarh
Sure there is no problem? I tried it with two addresses and there came no mail. Information about system mails arrive properly to both addresses.

Re: Could not instantiate mail function

Posted: 21 Aug 2010, 08:54
by jplelay
Hi,

Yes, I am sure there is no problem.
The mail function was poorly configured on the server.
The admin has made the necessary changes.

Best regards.

Jean-Pierre

Re: Could not instantiate mail function

Posted: 22 Aug 2010, 01:19
by Dietmarh
I found my problem, too. But I think it is a bad solution in Phoca Guestbook.

There is no item "Use Default" in the setting for the admin mail in the menu item. So the global setting made in Phoca Guestbook itself is always overwritten by this menu setting. The global setting for this is needless. If you don't set it in every menu item, no admin mail is going out.

Bad trap...

Re: Could not instantiate mail function

Posted: 22 Aug 2010, 23:54
by Jan
Hi, see:
https://www.phoca.cz/documents/3-phoca-g ... l-settings

"Use Global" cannot be used for some kind of parameters (like for list of users) ... As if the parameters are not saved in administration, default values taken from php code must be run. And if you add some defalt value to php code, you will have no possibility to set "no" for emailing.

Jan