How do I specify an alternative filename for an attachment instead of using the same file name which automatically is used while adding a file as attachment?
string filePath = "C:\\Test.pdf";
MailBuilder builder = new MailBuilder();
builder.AddAttachment(filePath);
but I want to have "XYZ.pdf" as file name, which is shown for this attachment in the email client which received the mail.