Error Message: Could not instantiate mail function.

More
5 years 11 months ago #68485 by amritdeep
amritdeep created the topic: Error Message: Could not instantiate mail function.
Hello!

I am new in LimeSurvey and i have a problem. I am trying to send email to a group of users and i am getting Error Message: Could not instantiate mail function. ??? I have no idea what could be wrong.
I use lime survey Version 1.91+ Build 10563
Email setting PHP(default)

Can someone help me please?

Please Log in to join the conversation.

More
5 years 11 months ago #68599 by Mazi
Mazi replied the topic: Error Message: Could not instantiate mail function.
1. What email did you set at global settings -> email?

2. From where are you trying to send an email? Which feature do you use?

3. Do you run Limesurvey on your local PC or on a webserver?

4. Please switch on debug mode by adding the following line to your config.php file:
$debug = '1';

Are there any additional errors reported on top of the page?


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
5 years 11 months ago #68693 by amritdeep
amritdeep replied the topic: Error Message: Could not instantiate mail function.
Email at global settings: This email address is being protected from spambots. You need JavaScript enabled to view it.
To send an email m using the feature : Mail to all memebers in User Groups
I am running the limesurvey on Webserver. (IIS Window Server)
Debug mode is on.

In send mail feature after fiiling the subject and message , when i click on send buttton the following message is displaying

"Email to ambi ; amritdeepkaur failed. Error Message: Could not instantiate mail function."
Attachments:

Please Log in to join the conversation.

More
5 years 11 months ago #68886 by Mazi
Mazi replied the topic: Error Message: Could not instantiate mail function.
It loks like you are using a modifed Limesurvey version because the icons look different!?

Did you also edit the source code?

You can test if this is fixed at the latest version by testing our online Demo at Demo.limesurvey.org/admin (external link) which always runs the latest Limesurvey version.
Username: admin
Password: test
If you can reproduce the problem there please report back.


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
5 years 11 months ago #68942 by amritdeep
amritdeep replied the topic: Error Message: Could not instantiate mail function.
I am using the same version which is currently present on www.limesurvey.org
Icons are look different because i have changed the icon images. I did not edit anything in the source code.

Please Log in to join the conversation.

More
5 years 11 months ago #69028 by Mazi
Mazi replied the topic: Error Message: Could not instantiate mail function.
"You can test if this is fixed at the latest version by testing our online Demo at Demo.limesurvey.org/admin(external link) which always runs the latest Limesurvey version.
Username: admin
Password: test"


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
5 years 11 months ago #69048 by amritdeep
amritdeep replied the topic: Error Message: Could not instantiate mail function.
At your Demo the error message is:

Email to amritdeepkaur failed. Error Message: Email was not sent because Demo-mode is activated.

Please Log in to join the conversation.

More
5 years 11 months ago #69073 by Mazi
Mazi replied the topic: Error Message: Could not instantiate mail function.
I'm sorry but I can't reprodcue the problem at the latest 1.91 version. Please update to the latest version and also ask your sysadmin to check the email settings. maybe switching to an SMTP account might solve the problem as well.


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
5 years 11 months ago #69144 by sYntaX
sYntaX replied the topic: Error Message: Could not instantiate mail function.
Hey,
I have the same problem. I tried it with 2 different email addresses and I always get this error. The problem is that we cant use SMTP, POP etc. because we use Outlook with the MS Exchange server.

What could I do?

Regards

Please Log in to join the conversation.

More
5 years 11 months ago #69149 by DenisChenu
DenisChenu replied the topic: Error Message: Could not instantiate mail function.

sYntaX wrote: ... MS Exchange server.

What could I do?

I think MS Exchange is imap/pop incompatible. MS work with MS only ;).

Then you can try with googlemail maybe.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
5 years 11 months ago #69179 by amritdeep
amritdeep replied the topic: Error Message: Could not instantiate mail function.
I am already using the version 1.91 + Build 11026

Please Log in to join the conversation.

More
5 years 11 months ago #69199 by Mazi
Mazi replied the topic: Error Message: Could not instantiate mail function.

amritdeep wrote: I am already using the version 1.91 + Build 11026

The latest version uses build 11434:
sourceforge.net/projects/limesurvey/file...rvey_stable/1.91%2B/


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
5 years 10 months ago #69580 by xamarshahx
xamarshahx replied the topic: Error Message: Could not instantiate mail function.
I upgraded to the newest version and now I get the same error. I have another instance of the LimeSurvey installed on the same server and it works fine. I use the default PHP Mailer and double checked all of my settings.

Please Log in to join the conversation.

More
5 years 10 months ago #69609 by Mazi
Mazi replied the topic: Error Message: Could not instantiate mail function.
If it is the same server, you use the same settings and everything else is similar too, then I can't say what might be wrong.


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
5 years 10 months ago #69643 by xamarshahx
xamarshahx replied the topic: Error Message: Could not instantiate mail function.
Yeah, I just downgraded back to 1.90+ and it works (same as the other instance). Not sure what is going on.

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now