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
Could not instantiate mail function
- Jan
- Phoca Hero
- Posts: 48736
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Could not instantiate mail function
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
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 27
- Joined: 28 Mar 2010, 11:22
Re: Could not instantiate mail function
Hi,
I checked the email function in Joomla and it would seem that it is well configured.
J.P. LE LAY
I checked the email function in Joomla and it would seem that it is well configured.
J.P. LE LAY
- Jan
- Phoca Hero
- Posts: 48736
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Could not instantiate mail function
In such case no idea there as the mail is sent by Joomla! frameworks send function 

If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 3
- Joined: 21 Aug 2010, 01:37
Re: Could not instantiate mail function
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.
-
- Phoca Member
- Posts: 27
- Joined: 28 Mar 2010, 11:22
Re: Could not instantiate mail function
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
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
-
- Phoca Newbie
- Posts: 3
- Joined: 21 Aug 2010, 01:37
Re: Could not instantiate mail function
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...
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...
- Jan
- Phoca Hero
- Posts: 48736
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Could not instantiate mail function
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
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
If you find Phoca extensions useful, please support the project