This commit is contained in:
@@ -35,7 +35,9 @@ namespace AyaNova.Util
|
||||
Content = new MimeContent(File.OpenRead(attachPDFPath), ContentEncoding.Default),
|
||||
ContentDisposition = new ContentDisposition(ContentDisposition.Attachment),
|
||||
ContentTransferEncoding = ContentEncoding.Base64,
|
||||
FileName = Path.GetFileName(attachPDFPath)
|
||||
FileName = Path.GetFileName("test.pdf")
|
||||
//FileName = Path.GetFileName(attachPDFPath)
|
||||
|
||||
};
|
||||
|
||||
var multipart = new Multipart("mixed");
|
||||
|
||||
Reference in New Issue
Block a user