Platforms to show: All Mac Windows Linux Cross-Platform
FAQ.How to create EmailAttachment for PDF Data in memory?
Answer: You can use code like the one below:
Compared to sample code from Xojo documentation, we set the mime type correct for PDF.
The MacType/MacCreator codes are deprecated, but you can still include them for older Mac email clients. "prvw" is the creator code for Apple's preview app.