Re: Re: Sending filing attachments using PHP
| From: | JupiterHost.Net | Date: | Fri, 12 May 2006 15:14:59 +0000 |
| Subject: | Re: Re: Sending filing attachments using PHP | ||
| References: | 1 2 3 4 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-41870@lists.php.net to get a copy of this message | ||
Alister Bulman wrote:
On 12/05/06, JupiterHost.Net <mlists@jupiterhost.net> wrote:Yes there's a huge need, PHP is way to problematic and many folks don't even realize thats its one of a hundred possible tools. Most of which are better suited for most things. Plus, what if you don't have Pear compiled into PHP? Now theres more hoops, oops need zend optimizer, more hoops, oops that version doesn;t work on that verison, more hoops. Oh yeah and you have to be root to do all this, nice. And that module is not a MIME tool in itself, it uses perl's MIME tools and SMTP tools but it abstracts all of that for you so all you have to do is make a hash that represents your mail. No knowlege of SMTP or MIME necessary. And you can install it as a regular user and use it yourself if need be, what could be easier :)You're piping a hand crafted mime message to sendmial via mail()? You are a glutton for pain :) (and oh yeah theres about a zillion MIME issues you've overlooked that will come back and bite you later, gauranteed) use a tool thats made for it: http://search.cpan.org/perldoc?Mail::Sender::EasyI agree - don't get bitten on the ass, but OTOH, there's already a PHP Mime encoder - no need to point him to a Perl library.... http://pear.php.net/package/Mail_Mime