I am using System.Net.Mail.Attachment for email attachment.
Attachment attachment = new Attachment (attachementFile);
But my attachementFile is from s3 file url and it contains #. Therefor I got this error. "The given path's format is not supported."
How can I fix this issue ?