Email Notifaction by user

Post here if you have some suggestions or you want to request a new feature.

Email Notifaction by user

Postby kpaularch » Thu Feb 10, 2011 2:51 am

Would be nice to be able to send the notifactions based off the user account


say user A uploads a file so its send an email to xyz@xyz.com
User B uploads a file it send an email to zyx@xyz.com
kpaularch
 
posts 3
 
joined Thu Feb 10, 2011 2:48 am

Re: Email Notifaction by user

Postby FTP » Thu Feb 10, 2011 5:01 am

OK, Wing FTP Server can meet your requirement actually, you just need to specify an email address for each account:

Image


Then use the following Lua script for sending email:

Code: Select all
local user = c_GetUser("DomainName","UserName")
local usrEmail = user.note_email
c_SendMail(usrEmail, "New file uploaded","The file %FileName is uploaded on our server","","SMTPConfig")
FTP
Site Admin
 
posts 1212
 
joined Tue Sep 29, 2009 6:09 am


Return to Suggestions & Wishlist

Who is online

Users browsing this forum: No registered users and 2 guests

cron