Reputation: 45
I am trying to create a file that is essentially an e-mail with headers and all in php and then present it to the user. The User would open it in outlook and then send.
Upvotes: 1
Views: 318
Reputation: 10482
I think what you want is to write a file in .msg format.
The only thing I could find is a commercial .NET library, Aspose, but nothing using PHP.
Upvotes: 1
Reputation: 2950
Yes, it is possible. *.eml and *.msg are plaintext files with proper encoding and headers. If you can create message according to spec, it will be read by Outlook.
Upvotes: 4