Why would a CSV attachment appear as text in the body?
- by David
Hi all
I've just implemented some code that emails a bunch of our clients with a CSV file attachment.
Some (not many) have got back to us complaining that they don't get an attachment at all - just the CSV text inside the body of the email. Most however are fine.
I suspect that it's different mail clients that are treating the attachment differently but I don't have enough info yet to be sure.
I'm using .NET's MailMessage class with the Attachment.CreateAttachmentFromString() method. The MIME type I'm specifying for the attachment is text/csv.
Anyone have any idea what the heck is going on?
Ta muchly
David