Skip to content
Last update: October 19, 2022

Configuration

This section explains the basic configuration for the security logic.

Notifications

This enables notification configuration for the VirtoCommerce.Notifications module.

Node Default or sample value Description
Gateway E.g., "SendGrid" The current notification sending gateway.
The out of the box implemented and
supported values are Smtp, SendGrid.
DefaultSender E.g., "[email protected]" This required setting provides sender
identification used by the current notification sending gateway.
Smtp SMTP gateway configuration.
Used if the Gateway setting has the Smtp value.
SendGrid SendGrid gateway configuration.
Used when the Gateway setting has the SendGrid value.
Notifications:DiscoveryPath Templates Relative folder path in the local file system
that will be used to discover notification template files
during notification rendering.
Notifications:FallbackDiscoveryPath Alternative relative folder path in the local file
system that will be used to discover alternative template
files during notification rendering.
Templates found through this path will be used as backup,
in case the templates defined in the
Notifications:DiscoveryPath setting are not found.

Examples

"Smtp": {
"SmtpServer": "http://smtp.gmail.com",
"Port": 587,
"Login": "my-login",
"Password": "my-password"
}
"SendGrid": {
"ApiKey": "my-SendGrid-Api-Key"
}