I am looking for a way via which I can dynamically set the attributes of an SMTP connection tag in _settings.lgx file. Currently, I am using sessions for assigning values to attributes
<Connection Type="Smtp" ID="connSmtp" SmtpAuthenticationPassword="@Session.smtpPass~" SmtpServer="@Session.smtp~" SmtpPort="@Session.smtpPort~" SmtpAuthenticationAccount="@Session.smtpUser~" SmtpAuthenticationMethod="@Session.smtpAuth~" />
The issue is sometimes it works sometimes not. So looking for an alternate approach
Please sign in to leave a comment.