Home
LimeSurvey Forums
Welcome, Guest
Please Login or Register.    Lost Password?
[done (?)] Could not instantiate mail function (1 viewing) (1) Guest
Go to bottom Favoured: 0
TOPIC: [done (?)] Could not instantiate mail function
#13689
phancongphuoc (User)
Junior Lime
Posts: 36
graphgraph
User Offline Click here to see the profile of this user
[done (?)] Could not instantiate mail function 6 Months, 2 Weeks ago Karma: 0  
Dear Mazi

Thank you for your link, I have read it and I understand how to use token
But there is some problem when I click the button i ('send invitation to this entry' it display this Error message: Could not instantiate mail function.

I check the email, it is exactly real one

Please tell me why it is, or tell me what need to read about that error

Thank you
 
Logged Logged  
 
Last Edit: 2008/05/26 13:15 By Mazi.
  The administrator has disabled public write access.
#13690
Shnoulle (User)
Expert Lime
Posts: 113
graphgraph
User Offline Click here to see the profile of this user
Re:Error Message: Could not instantiate mail function 6 Months, 2 Weeks ago Karma: 3  
Hello,

Could you tell us:
- What is the amp (apache/mysql/php) did you use
- How you configure email setting
- Did you had a smtp server ? a sendmail on you localhost , etc ...

Bye
 
Logged Logged  
  The administrator has disabled public write access.
#13696
phancongphuoc (User)
Junior Lime
Posts: 36
graphgraph
User Offline Click here to see the profile of this user
Re:Error Message: Could not instantiate mail function 6 Months, 2 Weeks ago Karma: 0  
Oh, thank you, I didn't know that I have to install SMTP server. It work well now
Thank you so much again
 
Logged Logged  
  The administrator has disabled public write access.
#13697
phancongphuoc (User)
Junior Lime
Posts: 36
graphgraph
User Offline Click here to see the profile of this user
Re:Error Message: Could not instantiate mail function 6 Months, 2 Weeks ago Karma: 0  
Hi,
It display that invitation is sent, but when i check mail, i don't have any one from it
I'm using AppServn2.5.10 to install Appache,PHP,Mysql
I'm store LimeSurver in localhost
And I have just install BestSMTPServer too
And this is all thing in my configh.php about email setting

// Email Settings

$siteadminemail = " This e-mail address is being protected from spam bots, you need JavaScript enabled to view it "; // The default email address of the site administrator
$siteadminbounce = " This e-mail address is being protected from spam bots, you need JavaScript enabled to view it "; // The default email address used for error notification of sent messages for the site administrator (Return-Path)
$siteadminname = "Cong Phuoc"; // The name of the site administrator
 
Logged Logged  
 
Last Edit: 2008/05/22 11:45 By phancongphuoc.
  The administrator has disabled public write access.
#13700
Shnoulle (User)
Expert Lime
Posts: 113
graphgraph
User Offline Click here to see the profile of this user
Re:Error Message: Could not instantiate mail funct 6 Months, 2 Weeks ago Karma: 3  
Maybe you can try with the google smtp server.

Code:

$emailmethod        =   "smtp"; 
$emailsmtphost      =   "smtp.gmail.com:587"; 
$emailsmtpuser      =   "congphuocphan(AT)gmail.com"
$emailsmtppassword  =   "yourpassword";
$emailsmtpssl       =   1;  


Can you tell us if it work ?

<br><br>Thank you<br>
PS:Change (AT) by the good letter
 
Logged Logged  
 
Last Edit: 2008/05/22 12:10 By Shnoulle.
  The administrator has disabled public write access.
#13703
phancongphuoc (User)
Junior Lime
Posts: 36
graphgraph
User Offline Click here to see the profile of this user
Re:Error Message: Could not instantiate mail funct 6 Months, 2 Weeks ago Karma: 0  
 
Logged Logged  
 
Last Edit: 2008/05/22 12:58 By phancongphuoc.
  The administrator has disabled public write access.
#13707
Shnoulle (User)
Expert Lime
Posts: 113
graphgraph
User Offline Click here to see the profile of this user
Re:Error Message: Could not instantiate mail funct 6 Months, 2 Weeks ago Karma: 3  
Hello,

Did you activate imap on gmail.com ?

The only think is to had a smtp server active for your mail.
 
Logged Logged  
  The administrator has disabled public write access.
#13710
Shnoulle (User)
Expert Lime
Posts: 113
graphgraph
User Offline Click here to see the profile of this user
Re:Error Message: Could not instantiate mail funct 6 Months, 2 Weeks ago Karma: 3  
Sorry,

I test with my account on google, and it's don't working.


I can use smtp.google with TLS on thunderbird, but none with SSL.
Maybe it's that

Where his your server ?
On internet or on intranet ?

If you had a smtp server somewhere (with identification).
I test with oleane server in France, and it's OK, but there aren't TLS or SLL identification.

Can you test BestSMTPServer ?
 
Logged Logged  
  The administrator has disabled public write access.
#13734
phancongphuoc (User)
Junior Lime
Posts: 36
graphgraph
User Offline Click here to see the profile of this user
Re:Error Message: Could not instantiate mail funct 6 Months, 1 Week ago Karma: 0  
Oh, SMTP is new one with me
I install it into the www folder, where i store limewurvey
Now i have to use the intranet server (mail server) mail.vslitc.com

And this is my new limesurvey/config.php. Do I have to take any change in PHP/APACHE/MYSQL file/

$siteadminemail = " This e-mail address is being protected from spam bots, you need JavaScript enabled to view it "; // The default email address of the site administrator
$siteadminbounce = " This e-mail address is being protected from spam bots, you need JavaScript enabled to view it "; // The default email address used for error notification of sent messages for the site administrator (Return-Path)
$siteadminname = "Cong Phuoc"; // The name of the site administrator
$emailmethod = "smtp";
$emailsmtphost = "mail.vslitc.com";
$emailsmtpuser = " This e-mail address is being protected from spam bots, you need JavaScript enabled to view it ";
$emailsmtppassword = "password";
$emailsmtpssl = 1;
 
Logged Logged  
  The administrator has disabled public write access.
#13735
phancongphuoc (User)
Junior Lime
Posts: 36
graphgraph
User Offline Click here to see the profile of this user
Re:Error Message: Could not instantiate mail funct 6 Months, 1 Week ago Karma: 0  
Anyway, if you found any mail server which is running well, please show me. Because I try many free mail server, but it not work untill now
By the way, tell me how to config too
Thank you
 
Logged Logged  
  The administrator has disabled public write access.
Go to top