KB fm-1: Difference between revisions

From SWCP Support Wiki
Jump to navigationJump to search
No edit summary
No edit summary
 
Line 10: Line 10:
# '''$toAdmin''' - this is the email address the message will be sent to
# '''$toAdmin''' - this is the email address the message will be sent to


It is important that the $toAdmin email address is valid. By default
It is important that the '''$toAdmin''' email address is valid. By default
this will be configured as ''username@yourdomain''.
this will be configured as ''username@yourdomain''.
Where ''username'' is the account where the website is installed, and
Where ''username'' is the account where the website is installed, and
''yourdomain'' is the domain the website is installed on.
''yourdomain'' is the domain the website is installed on.
If you need help with making these changes, give us a call or send us
some email at help@swcp.com

Latest revision as of 12:27, 9 April 2009

Can I get an email notification when a file is uploaded?

Yes. You'll need to edit one of the CGI files, Manager.pl. You'll find this in cgi-bin/FileManager. The following variables are related to this question:

  1. $sendConfirmUpload - set this to 1, to allow email notification.
  2. $send_as_html - set this to 1 for HTML formatted email
  3. $fromAdmin - this is the email address the message will come from
  4. $toAdmin - this is the email address the message will be sent to

It is important that the $toAdmin email address is valid. By default this will be configured as username@yourdomain. Where username is the account where the website is installed, and yourdomain is the domain the website is installed on.

If you need help with making these changes, give us a call or send us some email at help@swcp.com