Blazor / c#
Hi. I'm trying to select a single file, and then attach it to an email message.
If I do this using RadzenFileInput - be it in string or byte form - the attachment cannot be opened upon arrival. This happens with any type of file - png, xlsx etc.
If I use the same code to attach a file that is sitting in a folder undr webroot, then the attachment is fine and can be opened.
In the RadzenFileInput tag I'm simply setting the bind-Value to a byte variable, and then using that variable to convert the file to base64. Am I missing something?
Cheers
Reg