RE: Sending filing attachments using PHP

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

 



" Right after rebuilding php and apache and breaking PHP funtionality for 
everyone, just so you can send a semi complex MIME message? That is the 
epitome of PHP's lameness and why I can't sit quietly by and not 
recommend an easy to install and use and maintain solution."

This command breaks Apache?
require("class.phpmailer.php");

" And besides its in a non strutcutered way to maek it even more 
impossible to maintain."

Classes and Object Oriented Programming?



-----Original Message-----
From: JupiterHost.Net [mailto:mlists@xxxxxxxxxxxxxxx] 
Sent: Friday, May 12, 2006 10:10 AM
To: 'PHP DB'
Subject: Re:  Sending filing attachments using PHP



Chris wrote:

> JupiterHost.Net wrote:
> 
>>
>>
>> Ing. Edwin Cruz wrote:
>>
>>> Have a look on this:
>>>
>>> http://framework.zend.com/manual/en/zend.mail.attachments.html
>>>
>>>
>>> It seems to be easy with zend framework
>>
>>
>>
>> How about a way to do it without having to install a huge system wide 
>> binary and configruation that might potentially break apache and all 
>> PHP sites?
>>
>> http://search.cpan.org/perldoc?Mail::Sender::Easy
>>
> 
> The OP is asking for a PHP solution and you point to cpan.. Hmm.

Yep, because PHP is not usually (some say *never*) the best solution 
*and* this *is* a PHP + DB list so the OP actually has nothing to do 
with thei slist anyway.

> phpmailer (phpmailer.sourceforge.net) handles everything for you.. even 
> if you want to roll your own, that code will give you a good starting 
> point.

Right after rebuilding php and apache and breaking PHP funtionality for 
everyone, just so you can send a semi complex MIME message? That is the 
epitome of PHP's lameness and why I can't sit quietly by and not 
recommend an easy to install and use and maintain solution.

And besides its in a non strutcutered way to maek it even more 
impossible to maintain.

Look at the EXAMPLE section of that url, see how incredibly easy and 
intuitive it is to sent complex emails?

And all the server admin has to do is:

perl -MCPAN -e 'install Mail::Sender::Easy;'

  - no fiddling with apache
  - no fiddling with the interpretet binary
  - no possibility of breaking anyone's scripts


Or else you could do liek the one guy and make your own MIME message but 
that is even dumber than insisting that PHP has to be used.

-- 

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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux