Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Error Message: Could not instantiate mail function.

  • amritdeep
  • amritdeep's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
12 years 4 months ago #68485 by amritdeep
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?
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
12 years 4 months ago #68599 by Mazi
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:
Code:
$debug = '1';

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

Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
  • amritdeep
  • amritdeep's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
12 years 4 months ago #68693 by amritdeep
Email at global settings: sgs.sandhu@gmail.com
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:
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
12 years 4 months ago #68886 by Mazi
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
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
  • amritdeep
  • amritdeep's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
12 years 4 months ago #68942 by amritdeep
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.
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
12 years 4 months ago #69028 by Mazi
"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
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
  • amritdeep
  • amritdeep's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
12 years 4 months ago #69048 by amritdeep
At your demo the error message is:

Email to amritdeepkaur failed. Error Message: Email was not sent because demo-mode is activated.
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
12 years 4 months ago #69073 by Mazi
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
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
More
12 years 4 months ago #69144 by sYntaX
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
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
12 years 4 months ago #69149 by DenisChenu

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 , plugin development .
I don't answer to private message.
The topic has been locked.
  • amritdeep
  • amritdeep's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
12 years 4 months ago #69179 by amritdeep
I am already using the version 1.91 + Build 11026
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
12 years 4 months ago #69199 by Mazi

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
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose