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
Email Notifaction by user
-
- Site Admin
- Posts: 2084
- Joined: Tue Sep 29, 2009 6:09 am
Re: Email Notifaction by user
OK, Wing FTP Server can meet your requirement actually, you just need to specify an email address for each account:
Then use the following Lua script for sending email:
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")