---
title: Configure SMTP for email services
slug: configured-commerce/sdk/configuring-smtp-for-insitecommerce-email-services
docTags: 
createdAt: 2026-08-05T19:24:02.097Z
---

Optimizely \{user\["product-name"]} uses the `System.Net.Mail.SmtpClient` object, provided by the .NET Framework, to send e-mail.

For Insite-hosted solutions, the SMTP settings will be configured for you by Insite. The application will use an external emailing service for all e-mail communication.

For on-premises solutions, these settings must be configured in the **web.config** file in the root directory of the \{user\["product-name"]} project.

The following example configures the delivery format, delivery method, and from address for sending e-mails.

![](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/gZvOb817IREjZc8Kxvk3e-20260722-195241.png)

For more help configuring SMTP, see the MSDN documentation:

[https://msdn.microsoft.com/en-us/library/ms164240.aspx](https://msdn.microsoft.com/en-us/library/ms164240.aspx)

:::hint{type="info"}
**Cloud note**
For \{user\["product-name"]} Cloud, the SMTP settings will be configured for you by \{user\["product-name"]}. The application will use an external emailing service for all e-mail communication.
:::
