Trouble setting up emoncms notifications

 I am trying to get emoncms to send me notifications as per Trystan's blog post, but I get a strange error

seems that te scrit requires a non-existent mail.php file, does anyone know what this is about? 

Fatal error: require_once() [function.require]: Failed opening required 'Mail.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/hariabql/public_html/emoncms3/Models/mail_model.php on line 8

 

 

 

 



 

TrystanLea's picture

Re: Trouble setting up emoncms notifications

mail.php is one of the scripts that needs to be installed, which can be done with the following in linux:

sudo apt-get install php-pear
sudo pear install mail
sudo pear install Net_SMTP
sudo pear install Auth_SASL
sudo pear install mail_mime

Did you run these? 

I need to have another look at the notification's system, its been a while since I checked that its still working correctly what with all the new updates to the rest of emoncms.

mharizanov's picture

Re: Trouble setting up emoncms notifications

 No, I am running this particular emoncms installation on a server where I don't have shell access. I downloaded the package and manually placed in the Mail.php and "Mail" folder  the Includes folder, fixing the "require_once" to look for it there. It didn't wok, I will have to look why and will report an progress

Raven's picture

Re: Trouble setting up emoncms notifications

Hi guys,

I am also trying to setup the notfications. Trystan's blog is refering to a cron.php, but this file is not longer available (broken link).
Okay I would assume that this file is now replaced by notify.php. I got this file.

Klicking on the button "Notify" I got the error message  /emoncms3/notify/view was not found.
That's true the folder is missing on my Raspberry.

Did I miss something here how to install this folder?
Is there another documentation available? Any thoughts?

Thank you in advance.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.