1
davidsless
Could not instantiate mail function
  • 2007/5/25 0:36

  • davidsless

  • Just popping in

  • Posts: 49

  • Since: 2006/10/5


Hi,

The message in the subject line has begun appearing on our login page when a user forgets their password, types in their email and sends the message.

We have tried a number of things to cure this including reinstalling some of the relevant php files in the htdocs directory, updating the module, altering the Mail settings in our System Module Preferences.

We have been in touch with our service provider and they claim that there is no problem at their end.

I have googled the subject line and it appears our problem is not unique to us, nor to xoops, but I also get the impression that nobody out there really knows how to fix it.

Any thoughts, ideas?

2
script_fu
Re: Could not instantiate mail function

Quote:

davidsless wrote:
Hi,

The message in the subject line has begun appearing on our login page when a user forgets their password, types in their email and sends the message.


This is a very strange error? I have never seen this before.
Can you tell us a lil more about your set up? Nix, windows, cpanel, helm??? What are your running?

3
davidsless
Re: Could not instantiate mail function
  • 2007/5/25 1:47

  • davidsless

  • Just popping in

  • Posts: 49

  • Since: 2006/10/5


Here are the settings from our cpanel


Operating system Linux
Service Status Click to View
Kernel version 2.6.8-022stab078.21-enterprise
Machine Type i686
Apache version 1.3.37 (Unix)
PERL version 5.8.0
Path to PERL /usr/bin/perl
Path to sendmail /usr/sbin/sendmail
Installed Perl Modules Click to View
PHP version 4.4.4
MySQL version 4.1.21-standard
cPanel Build 10.9.0-RELEASE 10737
Theme cPanel X v2.6.0

4
christian
Re: Could not instantiate mail function
  • 2007/5/25 11:45

  • christian

  • Just can't stay away

  • Posts: 401

  • Since: 2002/2/24


With XOOPS 2.0.16, you must modify the preferences, mail setup page with :

Quote:

Mail delivery method : SMTPAUTH
SMTP host(s) / mail.domaine.com
SMTPAuth username : adresse@domaine.com
SMTPAuth password : xxxxxxxxxx

5
davidsless
Re: Could not instantiate mail function
  • 2007/5/25 23:21

  • davidsless

  • Just popping in

  • Posts: 49

  • Since: 2006/10/5


Hi Christian,

The answer you gave me did not solve the problem but it made fault visible. As is often the case, the real problem was me!

A few days ago I decided that two of us should get administrative notifications from the site so I changed the 'Admin mail address' in the general preferences, adding the other persons email and separating the two emails with a coma, as one does on a normal email. That is what caused the problem.

Once I changed the mail settings, as you suggested, instead of the inscrutable 'Could not instantiate mail function', I got an error message saying that it didn't recognise the two emails separated by a comma as a valid email address.

So, thank you. You did help me fix it in a roundabout way.

But this lead me back to the original problem I tried to solve. How do I get admin emails directed to two different people?

Any ideas?

6
jdseymour
Re: Could not instantiate mail function

As long as the second admin is a webmaster, both should receive admin notices by email to each webmaster's address automagically.

7
davidsless
Re: Could not instantiate mail function
  • 2007/5/26 1:05

  • davidsless

  • Just popping in

  • Posts: 49

  • Since: 2006/10/5


Of course!

Thanks

Login

Who's Online

343 user(s) are online (245 user(s) are browsing Support Forums)


Members: 0


Guests: 343


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits