Skip to main content

 

Documentation & User Guides | FotoWare

Customizing emails sent from FotoWeb

The layout of emails that FotoWeb sends is controlled by templates. These templates are stored in C:\ProgramData\FotoWare\FotoWeb\Site Settings\<sitename>\Email Templates

This folder contains both html and plain text emails. When sending emails, FotoWeb sends both versions, and settings in the client's email program determines which one is presented to the user. Thus, when making changes to email templates, make sure you change both versions if you change the wording in the mail.

Filename Used for
DownloadEmailTemplate Sent when a large download has finished processing. Contains a link where the user may download a ready ZIP file
DownloadFailedEmailTemplate Sent to a user if a large download failed to process
ResetPasswordEmailTemplate Sent when a user requests a password reset
SignupApprovedEmailTemplate Sent when a user sign up has been approved and the user can log in to FotoWeb
SignupVerificationEmailTemplate Sent directly after a user signs up to verify that the email address is valid


Making changes to the signup email template

In the following we will change the content of one of the signup email templates: SignupVerificationEmailTemplate.html. You can edit the file in any editor - such as Notepad++ or a similar one.

Changing text

We would also like to add the text: "Hi <firstName> <lastName>," in the email. We add a new html <p> element after line 12:

<p style="padding-left: 30px;width: 650px;">Hi {{ firstName }} {{ lastName }},</p>

And that's it! The email should now look something like this:

 

Variables in the Email Verification template

Variables available in email verification template, sent to user after signup, (SignupVerificationEmailTemplate.html)
Values from example email above in parentheses.

Variable name

Description

{{ site }}

full site href including protocol, hostname and port (http://t430-magu.fotoware.net:81)

{{ siteHost }}

host name (t430-magu.fotoware.net)

{{ firstName }}

User's first name (Miles)

{{ lastName }}

User's last name (Dyson)

{{ verificationHref }}

Link to verify user email (http://t430-magu.fotoware.net:81/fotoweb/views/signup/ 70b789460bb06e53345bebadcb91c35a758 97b4a5a1188d1b33687e0849e772e/)

Variables in the Signup Approved template

Variables available in the Signup Approved email template which is sent to a user after an admin has approved his signup (SignupApprovedEmailTemplate.html)

Variable name

Description

{{ site }}

full site href including protocol, hostname and port

{{ siteHost }}

host name

{{ firstName }}

User's first name

{{ lastName }}

User's last name

{{ loginHref }}

Link to site login