Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I install PEAR::Mail for TYPO3 without pear or phar?

In order to use the TYPO3 extension 'Direct Mail' with an external SMTP server, I need to install PEAR::Mail (http://pear.php.net/package/Mail/download/1.2.0).

At least, that is what the text in the Direct Mail configuration tells me:

Enable Sending through SMTP [SmtpEnabled] Send all emails not through sendmail but through an external SMTP account (requires PEAR::Mail to be installed on the system)

I have neither pear nor phar available.

How do I install the package after downloading it manually?

like image 535
user569825 Avatar asked Nov 27 '25 02:11

user569825


1 Answers

The correct way

You need to do everything the PEAR installer does - but manually.

That is, read the package.xml file, note which files need to be extracted to which places (don't forget the baseinstalldir) and then extract the files. After that you need to resolve all dependencies and install the dependent packages in the correct version as noted in the package.xml file. Also do not forget to execute the replacement tasks as noted in the package.xml file.

The fast way

Extract the tgz, delete package.xml and adjust your include path.

Then run fast and NEVER EVER ASK FOR HELP BECAUSE IT DOES NOT WORK.

like image 190
cweiske Avatar answered Nov 28 '25 16:11

cweiske



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!