Re: Save email as .eml file

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

 



Yeah, that and imap_savebody($imap, $fn, $i); work. Thanks

Richard Lynch wrote:
> 
> 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
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Save-email-as-.eml-file-tf4103444.html#a11719234
Sent from the PHP - General mailing list archive at Nabble.com.

-- 
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