• Cheers Cash, I'll check and try again.  Thanks for the advice... this is where better documentation would huge help... referring back to everyone elses issues and comments etc to find answers is tiresome, especially if the answer can't be found.  There has to be a better way...

  • @Cash

    I have enabled the uservalidationbyemail and the phpmailer, but I can't recieve the account validation email.

    I'm using Windows 7,  XAMPP 1.72 , Elgg 1.6.1 and PHPMailer 0.9.7.

    The email related settings in php.ini are:

    [mail function]
    SMTP = localhost
    smtp_port = 25
    sendmail_from = postmaster@localhost
    mail.add_x_header = Off

    Administration->Site Administration->Site email address (used when sending system emails)  in the  backend of my Elgg website is drwebx@gmail.com.

    Administration->Tool Administration->phpmailer [Settings] remain the default settings. The item Override default Elgg mail handler is only checked.

    The infomation captured by Mercury is

    Connection from, Wed Jan 13 10:58:40 2010
    HELO Hu-PC
    MAIL FROM:<postmaster@localhost>
    RCPT TO:<hawau@yahoo.com>
    DATA - 18 lines, 574 bytes.
    0 sec. elapsed, connection closed Wed Jan 13 10:58:40 2010

    The error infomation in error.log is

    [Wed Jan 13 10:32:24 2010] [error] [client ::1] WARNING: 2010-01-13 10:32:24 (CST): "mail() [<a href='function.mail'>function.mail</a>]: Failed to connect to mailserver at &quot;localhost&quot; port 25, verify your &quot;SMTP&quot; and &quot;smtp_port&quot; setting in php.ini or use ini_set()" in file D:\\xampp\\htdocs\\elgg\\mod\\phpmailer\\lib\\class.phpmailer.php (line 496), referer: http://localhost/elgg/account/register.php
    [Wed Jan 13 10:32:24 2010] [error] [client ::1] WARNING: 2010-01-13 10:32:24 (CST): "PHPMailer error: Could not instantiate mail function." in file D:\\xampp\\htdocs\\elgg\\mod\\phpmailer\\mail.php (line 140), referer: http://localhost/elgg/account/register.php

    I'm not familiar with the SMTP. I don't know where is the problem. Could you help me do some analysis?


  • @Blue: this error "PHPMailer error: Could not instantiate mail function" tells me that you do not have php configured correctly. There are plenty of web resources for this. Good luck.

  • After enabling the plugin, I do not see any chnage on my private messages form. Is that where the changes are supposed to appear. I would be greatly appreciated if anyone could guide me a bit.

  • @Shouvik: This plugin does not change the user interface of any component in Elgg. 

  • Has anyone written invite friends plugin that checks with php mailer?


  • Category: Communication
  • License: GNU General Public License (GPL) version 2
  • Updated: 2014-11-17
  • Downloads: 18157
  • Recommendations: 33

Other Projects

View Cash's plugins