Email Notifaction by user

Post here if you have some suggestions or you want to request a new feature.
Post Reply
kpaularch
Posts: 3
Joined: Thu Feb 10, 2011 2:48 am

Email Notifaction by user

Post by kpaularch »

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
FTP
Site Admin
Posts: 2072
Joined: Tue Sep 29, 2009 6:09 am

Re: Email Notifaction by user

Post by FTP »

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")
Post Reply