Page 1 of 1

Email Notifaction by user

Posted: Thu Feb 10, 2011 2:51 am
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

Re: Email Notifaction by user

Posted: Thu Feb 10, 2011 5:01 am
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")