Re: Save email as .eml file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, July 18, 2007 8:56 am, Rosen wrote:
> Is there a way to create e-mail with PHP and save it to .eml file
> (without sending)?

I dunno if MS adds anything funky to a .eml file, but I suspect that
it's just the raw headers and then the body...

So pretty much file_put_contents would do it, if you can forge a
halfway-reasonable set of headers.

Open up an .eml file in a text editor and see what it looks like.

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux