Hi All,
I have a local version of EmonCMS installed at My Solar - user login
When trying to reset a password an error comes up under the “Recover” button with “undefined” as the error message.
Originally I was getting email sent message. But in log it said can’t find SwiftMailer and the email was not sent.
To fix this:
I downloaded Swiftmailer, unzipped it and dragged it first inside the emoncms Lib folder, then tried in the root directory. I changed the directories in the Lib/email.php file
$this->message = null;
// include SwiftMailer. path from a PEAR install,
$this->have_swift = @include_once ("../swiftmailer/lib/swift_required.php");
// path from module lib
if (!$this->have_swift) {
$this->have_swift = @include_once ("../swiftmailer/lib/swift_required.php");
Now no error is showing up in the log. But I am getting the Undefined set above and no email has been sent.
I have tried using multiple email accounts in the settings.php file including a gmail smtp outgoing server.
$smtp_email_settings = array(
'host'=>"smtp.gmail.com",
'port'=>"465", // 25, 465, 587
'from'=>array('[email protected]' => 'Anamise'),
// comment lines below that dont apply
'encryption'=>"ssl", // ssl, tls
'username'=>"[email protected]",
'password'=>"mypassword"
Does anyone have any suggestions or instructions on how to fix this?