Table of Contents
Configuring FotoWeb to send emails
Learn how to configure a local SMTP server to relay emails from FotoWeb through authenticated and encrypted mail servers.
Table of Contents
Advantages of configuring a local SMTP server
Some FotoWeb features, such as password resets, user invitations, notifications, and album sharing, rely on email. FotoWeb does not support Secure Sockets Layer (SSL) encrypted authentication to Simple Mail Transfer Protocol (SMTP) servers, so you must set up an SMTP service on the FotoWeb server that can relay all emails sent by FotoWeb to your primary SMTP server.
Additionally, setting up a relay server ensures that all emails from FotoWeb are delivered, as the relay server receives all outgoing emails from FotoWeb and continues trying to relay them if the main mail server is unavailable or undergoing maintenance.
Configuring FotoWeb to use an SMTP server
- Install and configure an SMTP service that supports relaying. For information about supported options, see Choice of email service below.
- From the Tools menu (cogwheel icon), go to Site Configuration > Server Configuration > E-mail Server.
- Enter the Server name and any authentication credentials required by the SMTP service you configured.
If you are using the IIS SMTP service described in this article, enter127.0.0.1as the Server name and leave Username and Password empty (since the SMTP server is configured for anonymous access from the localhost). - Enter the Sender name, Sender email address, and, optionally, a Reply to address.
For more information about configuring a default email subject, see Configuring email notifications.
.png)
Choice of email service
Any SMTP service that supports relaying can be used with FotoWeb. The following documentation describes how to configure the SMTP service included with Internet Information Services (IIS) on Windows.
Alternatively, you can use another SMTP service that supports relaying, such as:
- An on-premises mail server (for example, Microsoft Exchange, MailEnable, or similar solutions)
- A cloud-based SMTP service (for example, Microsoft 365, SendGrid, or other SMTP providers)
Note
The IIS SMTP Server feature described in this article may not be suitable in all environments:
- Microsoft removed the SMTP Server feature from Windows Server 2025 and later versions.
- The IIS SMTP relay service does not support IPv6 environments and can only be used in IPv4 networks. If you need to disable IPv6 on the server, see the relevant Microsoft documentation.
Adding the IIS SMTP feature to your server
The following steps describe how to install and configure the IIS SMTP service for email relaying.
- Open the Server Manager and select Add roles and features.
- Select Role-based or feature-based installation and select Next. Choose your server in the next window and select Next.
- Select Web server (IIS) from the list of roles and select Next. Confirm any additional features that need to be enabled.
- Select the SMTP Server feature in the list of features. Confirm any additional features that need to be installed.
- Select Next to start configuring the web server role.
- Select Next to proceed with the default web server settings. IIS will now also be installed and configured to use web services on port 80.
- Select Install to add the roles and features to the server.
Configuring the SMTP server
- Open IIS Manager 6: Select Windows-R, enter inetmgr6, and select OK.
- In IIS Manager, select SMTP Server and choose Properties.

- On the General tab, leave the settings as they are, with the IP address set to All unassigned.

- Open the Access tab.

- Select Authentication and make sure Anonymous access is selected. Select OK.

- Open the Access tab and select Connection.
- Select Only the list below and select Add. Enter 127.0.0.1 as the IP address and select OK. This connection setting controls which computers can connect to the SMTP server and send emails. By allowing access only from localhost (127.0.0.1), only the server itself (and FotoWeb running on it) can connect to the SMTP service.

- Select OK to return to the Access list tab. Select Relay. Enter 127.0.0.1 as the IP address here and select OK. The relay setting controls which computers can relay mail through this SMTP server. Giving localhost this permission means only the server itself can relay mail.

- Open the Messages tab and enter an email address to which reports of undelivered emails will be sent. This way, an administrator can be alerted if the server cannot connect to the main SMTP server and successfully send emails. The other settings can be left as they are.
If FotoWeb workflows are configured to deliver files via email, you might need to increase the maximum message size to accommodate attachments (see the example above).
- Open the Delivery tab.
- Select Outbound Security and set the authentication mode required by the destination mail server.
In this example, we're relaying emails through another mail server, so the screenshot shows Basic authentication as required by the relaying mail server. The mail server you use may require another type of authentication..jpg)
The destination mail server in this example requires the TLS encryption option to be enabled, as shown above.
- Select OK to save the settings, then return to the Delivery tab and select Outbound Connections.
- Set the TCP port to the value specified by your primary SMTP server. The default port number is 25, but the screenshot shows this set to 587, which is the correct setting for the destination mail server in this example.
- Select OK to save and return to the Delivery tab, and then select Advanced.
- Set the Smart host to the destination SMTP server's hostname, then select OK to save the settings. This is the address to which the SMTP server will forward emails. The destination SMTP server will then deliver the emails to the intended recipients.
Note
If FotoWeb refuses to accept the SMTP server name in the Operations Center, the cause may be IPv6 name resolution. Because IIS 6 SMTP supports only IPv4, you may need to create an entry in the HOSTS file (C:\Windows\System32\drivers\etc\hosts) that maps the server name to 127.0.0.1, forcing name resolution to use IPv4.
Testing the connection
Using Windows PowerShell, you can test if emails are relayed correctly using the syntax below:
1 |
Send-MailMessage -SMTPServer localhost -To xxxxx@yourdomain.com -From xxxxx@yourdomain.com -Subject: "This is a test email" -Body: "Hi, this is a test email sent using my own SMTP server as a smart host"
|
Replace the-To and -From parameters with valid email addresses and execute the command in PowerShell to test the email.
Setting the SMTP service to automatic startup
After configuring the SMTP server, ensure it is set to automatic startup: Open the Windows Services control panel and locate the Simple Mail Transfer Protocol service. Double-click it and set it to Automatic startup. Select OK to save.