Page 1 of 1

email notifications

PostPosted: Wed May 02, 2012 10:03 pm
by GJ51
viewtopic.php?f=6&t=9443&p=40368#p40368

This was just posted in the tutorial section. I think this would be a welcome addition for a future SS release. Please comment further if you agree so that Sindre can see if there is enough interest to put on his TODO list.

Thanks

Re: email notifications

PostPosted: Sun May 06, 2012 9:46 pm
by gurutech
I think this would be a great feature, maybe add the ability to be alerted when a new user creates an ID (I think this may already be part of the registration mod), or when a user downloads a song (like if they should not be able to download, but still do)

My only question would be how the email is sent - is it sent through the Subsonic server as the mail server, or would it go through an smtp server?

Re: email notifications

PostPosted: Mon May 07, 2012 4:18 pm
by nutt318
Currently there is javascript code that is doing a get request to an external server. How I have it configured is it requests a .php file on a different server that has .php sendmail configured, however this doesnt work in IE9 because they have cross site scripting disabled.

Anyways I'm working on setting up XAMPP and just have my local server, the same server that is running SubSonic to send out email so IE9 wont throw anymore errors.

You could do the same for if a user downloads a file, just add the same onclick function to the download chuck. Look at the link to the topic in the first post. I give instructions on how to do this.