Biff
Biff

Reputation: 45

Possible to open an e-mail created in php in Outlook?

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

Answers (2)

JeffH
JeffH

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

smok1
smok1

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

Related Questions