Client upload notification email

From Wikanual

Jump to: navigation, search

When somebody uploads a file with the client interface an email is being generated when it is complete.

The format of this email is being controlled by two configuration variables:

upload notification email subject

The subject line can contain any text and the keyword

IDXHTML_LOGIN

that will be replaced by the name of the login that is in use during the upload.


Disabling upload notifications via special keyword

If you do not like to receive emails when a client upload has finished then you can disable this feature by setting upload notification email subject to the special value

none

INTERDUBS will no longer generate upload notifications.

upload notification email body

Depending whether the client interface uses the Drag and Drop or Classic upload screen some variables might not be used.

Keywords that will be replaced with an empty string when one of the Drag and Drop Interfaces will being used are indicated via (*NOT_DnD*) here.

Drag and Drop notifications will ONLY report the last file in the email.


The form based uploader form allows more control about required parameters, etc.


In general the body of the upload notification email can contain

IDXHTML_LOGIN

for the name of the client login, and

IDXHTML_ADMINPFOLLINK

link to the parent folder in the admin interface

IDXHTML_CLIENTPFOLLINK

link to the parent folder in the client interface

IDXHTML_ULMAILINFO (*NOT_DnD*)

a text about the uploaded file. It has the following format:

Source file: example.txt
File size: 5B
Name in INTERDUBS: test
MD5 checksum of file: d8e8fca2dc0f896fd7cb4cb0031ba249
IDXHTML_ULTITLE 

title of file uploaded in INTERDUBS. It is name of the source file name if is not set on the web page.

IDXHTML_ULURLS (*NOT_DnD*)

Direct links to the uploaded files inside of INTERDUBS.

IDXHTML_ULNOTE (*NOT_DnD*)

The note that the person added with the upload.

IDXHTML_ULFOLDER (*NOT_DnD*)

If a folder is being created then it will read

new folder: FOLDERNAME

otherwise this keyword will be replaced by an empty string

IDXHTML_ULIP 

The IP address of the computer that was used to upload the file

IDXHTML_USERINFO 

The user name used when leaving a comment before (stored in a cookie on the client computer) and the domain information of the users IP address.

Personal tools