質問

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?

役に立ちましたか?

解決

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.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top