Error: PHP PEAR/PEAR::Mail not installed
Arclab® Web Form Builder
The script uses the PEAR::Mail php extension to send mail via a SMTP server.
The option "Send the Email directly via the Website (php Mail)" does not require PEAR::Mail.
If "PEAR::Mail" is not available, you will receive the error message when opening the web form in the browser:
Error: PHP PEAR not installed!
Error: PHP PEAR::Mail not installed!
To fix this issue either:
- Use "Send the Email directly via the Website (php Mail)"
instead of "Send the Email using the specified Email Account (SMTP Server)"
and enter a local email address as "Sender". It is recommended to use a
sender email address that corresponds to the domain of the website.
Switch to "Email and Database", select the task and click on "Edit" to open the email editor.
In the email editor, click on "Edit Server and Account" and select the option "Send the Email directly via the Website (php Mail)".
Repeat this step for each task if you have created multiple tasks.
Please note: Some hosting providers restrict the use of the internal mail function "php Mail" in such a way that the email may only be sent to local recipients. This means that you may only be able to send to recipients whose email addresses match the domain of the website. Unfortunately, this would mean that you can not send autoresponder messages, as recipients of the autoresponder messages are always external email addresses.
We cannot make a definitive statement regarding this issue, since this depends entirely on the hosting provider.
We therefore recommend that you simply carry out a test.
Enter a local email address as "Sender (Email Address)", if your hosting provider has restricted the use of the internal mail function "php Mail". In this case, the sender email address must necessarily match the domain of the server. An example would be the website: www.example.com and the email address: email@example.com.
If you do not have an email address for the corresponding domain or do not want to create one, you can often use one of the following email addresses:
e.g. for the Website: www.example.com (use your own domain name instead of example.com)
Sender (Email Address): e.g. firstname.lastname@example.org (noreply@...)
Sender (Email Address): e.g. email@example.com (webmaster@...)
Sender (Email Address): e.g. firstname.lastname@example.org (postmaster@...)
Use these email addresses only as "Sender", never as "Recipient".
If you save the email you will probably receive a warning. Click on "Continue anyway" to continue.
In some cases it might also be required to change the "Recipient" to a local email address:
- OR ...
Contact your web administrator or hosting provider to install/activate the php extension PEAR::MAIL (https://pear.php.net/package/Mail)
Before contacting your web administrator or hosting provider, you should first try (as described above) to use the website's internal mail function.