Skip to content
  • There are no suggestions because the search field is empty.

How To: Create an Event that Sends an Email when the User Successfully Uploads a File

How To: Create an Event that Sends an Email when the User Successfully Uploads a File

Question

Can you give me a quick guide on creating an event that sends an email to a specific address whenever a user uploads a file that contains information of the file in the body of the email such as file name and if possible, file path?

Reasoning

Creating an email notification event for file uploads helps administrators monitor user activities in real time. Including file name and path details in the email ensures precise tracking and enhances security by alerting administrators about uploaded content immediately.

Answer

Follow the steps below to configure an event that triggers an email notification upon file upload:

Pre-Requisite
Working SMTP Setup in Titan Server

 

Steps
Login to Titan Server

A screenshot of a login formDescription automatically generated

 

Navigate to Domain > Server > Events.

 

On Event Handlers, click Add.

In New Event Handler, click Add Event.

In Add Event, Select File Events > File Upload/Write > Upload/Write successful then click OK.

 

Click Actions, then Add Action.

 

Click Send Email, then Fill the Required Fields.

To: Email address of the recipient.

From: Email address of the sender/user.

You can utilize the user's email variables if their email address belongs to the domain configured in the SMTP settings under Domain > Server > Email tab.

Example: %USR.GENERAL.EMAILADDRESS%




CC: Email address of the carbon copy recipient - Optional    

BCC: Email address of the blind carbon copy recipient - Optional

Subject: Subject line of the email

        You can dynamically set subject line using variables.

            Example: %USR.USERNAME% upload file successfully.




Body: Content of the email

        -You can dynamically set Body message using variables.

            Example: %USR.USERNAME% uploaded %FILEPATH.NAME% located on %FILEPATH.PTH% at %TIME% with the size of %FILESIZEMB%.

    

Attachment: File to attach to the email - Optional

 

Note: Use system variables to dynamically get the information needed.

To see the list of variables, navigate to: Domain > Server > Connection > Messages Tab and click Edit on any message listed below. Select and copy the variables from the dropdown and paste them into your event.

 

Upload a Test file to verify.
 

 

Need More Help? We’ve Got You Covered.

If you didn’t find what you were looking for, our support team is here to help. Submit a ticket and one of our experts will follow up shortly.