E-mail Templates

Introduction

With AutoGallery Pro's e-mail templates you can specify what information you want in an e-mail, what type of e-mail to send (text or HTML), and you can even include attachments with your e-mail.

Control Panel Editing Interface

All changes to your e-mail templates will be made through the control panel. From the control panel menu, locate and click on the E-mail Messages link in the Templates section. AutoGallery Pro will load a page where you will be able to select which of the template files you want to edit. Select the template you want to edit from the list, and press the Load E-mail button.

You will be returned to the same page, however now there will be several text input fields where you will enter the information to be used for the e-mail. The first time you load a template, the default values will be loaded and displayed in these fields. You can edit them how you like.


When you are satisfied with the changes you have made, click on the Save button at the top or bottom of the page. All of the changes you make will be immediate. The next time that e-mail is sent, the updated template will be used.

Attachments

If you want to attach any files to your e-mail messages you will first need to upload those files to the server. They should be uploaded to the data/attachments directory of your AutoGallery Pro installation. Once you have one or more files in that directory, the attachments selection field will be displayed when you edit your e-mail templates. Only the attachments that you select will be sent, and you can select as many as you want.

Template Values

Each of the template files has it's own set of valid template values.

email_account.tpl
This is the e-mail that will be sent, if you choose to, when you create a new partner account

##Account_ID## - This is the ID for the account
##Email## - This is the e-mail address for the account
##Password## - This is the password for the account
##Submit_URL## - This is the URL to the submit.cgi script on your server

email_approved.tpl
If you have the option enabled to contact submitters, this e-mail will be sent when a gallery is approved

##Gallery_ID## - The ID number assigned to the gallery
##Email## - The e-mail address for the gallery
##Gallery_URL## - The URL for the gallery
##Description## - The description of the gallery
##Thumbnails## - The number of thumbnails on the gallery
##Category## - The category of the gallery
##Nickname## - The name/nickname of the gallery submitter

email_confirm.tpl
If you are using the e-mail confirmation option, this e-mail will be sent when a gallery is submitted

##Confirm_ID## - The ID number needed to confirm the gallery submission
##Confirm_URL## - The URL where they will confirm the gallery submission

email_cpanel.tpl
This is the e-mail that will be sent, if you choose to, when you create a new control panel account

##CPanel_ID## - This is the username for the account
##Password## - This is the password for the account
##Email## - This is the e-mail address for the account
##CPanel_URL## - This is the URL to the AutoGallery Pro control panel on your server