With Mailkit i would like check if my server accept '+' in e-mail
I thought it was necessary
if (!_imapClient.Capabilities.HasFlag(ImapCapabilities.UidPlus))
OR
if (!_imapClient.Capabilities.HasFlag(ImapCapabilities.LiteralPlus))
but it doesn't work
the service that I am creating will receive emails but I would like to put a condition that if the mailbox accepts the '+' character to be able to configure my service
Do you have any idea how to check this ?
Oh, that's called subaddresses and is not something you can learn from the IMAP server. If you want to autodetect it, I suggest probing the incoming SMTP server. If you know that your address is juduno@example.com, and that server rejects RCPT TO:8493284923482390481290@example.com but accepts juduno+583940238490@example.com, then it may be assumed to accept subaddresses. At least well enough that you could ask the user. – arnt