My aim is to receive mail from a contact form.
My email account is not hosted on Dreamhost.
I have installed composer /phpmailer using Putty and I think it’s ok. I am not familiar with these products and could very easily have made mistakes.
I have a form.htm and a mail.php file uploaded to my domain to test. However, when I click on the Send (on the form) I get an error
Warning: require(/home/MYPUTTY_USERNAME/phpmailer/vendor/autoload.php): failed to open stream: Permission denied in /MYWEBFT_USRNAME/MYDOMAINNAME/mail.php on line 5
Fatal error: require(): Failed opening required ‘/home/MYPUTTY_USRNAME/phpmailer/vendor/autoload.php’ (include_path=’.:/usr/local/lib/php:/usr/local/php5/lib/pear’) in /home/MYWEBFT_USRNAME/MYDOMAINNAME/mail.php on line 5
The autoload.php file is in the location specified.
I don’t know what the reference to Pear is. I haven’t installed it. My understanding was that I could use Pear or Phpmailer. I chose the latter.
I’m going around in circles.
Any ideas on a solution, I’d be very grateful.