2
0

docs(editor): 📝 Add TLS explanations for smtp config

This commit is contained in:
Baptiste Arnaud
2022-06-25 10:06:12 +02:00
parent 9222fcb050
commit 8c936741f3

View File

@ -76,9 +76,10 @@ export const SmtpConfigForm = ({ config, onConfigChange }: Props) => {
</FormControl>
<SwitchWithLabel
id="Tls"
label={'Use TLS?'}
label={'Secure?'}
initialValue={config.isTlsEnabled ?? false}
onCheckChange={handleTlsCheck}
moreInfoContent="If enabled, the connection will use TLS when connecting to server. If disabled then TLS is used if server supports the STARTTLS extension. In most cases enable it if you are connecting to port 465. For port 587 or 25 keep it disabled."
/>
<FormControl as={HStack} justifyContent="space-between">
<FormLabel mb="0">Port number:</FormLabel>