in reply to Re: smtp authentication in perl script for contact form
in thread smtp authentication in perl script for contact form
Hello Corion,
Thanks for your input!
I have repaced the double quotes for the single quotes as you recommended aswell as the use strict; and use warnings; to get to the quick fix, but then I get a 500 internal server error.
But I think it is better to concentrate on a good script as you suggested then to continue using current script with a huge open gate.
Therefore I followed your link and used TFMail Autoinstall to install the script onto the server.
When I run the script I get the error:
Application Error
An error has occurred in the program
SMTP command RCPT TO:<xxxx@xxxx.com> gave response [554 5.7.1 <firewall.vhosting.namehost.com11.222.68.68>: Client host rejected: Access denied ] at /home/vhosting/z/vhost0028581/domains/xxxx.com/htdocs/www/cgi-bin/websiteformulier.cgi line 967, <GEN1> line 4.
I think the error occurs because the host needs SMTP Authentication? E.g. I did not give SMTP_PORT, SSL="OFF", username / password.
Would that not be necessary?br>
BR
Olaf
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: smtp authentication in perl script for contact form
by Corion (Patriarch) on Nov 30, 2015 at 15:49 UTC | |
by Anonymous Monk on Dec 01, 2015 at 12:48 UTC | |
by Corion (Patriarch) on Dec 01, 2015 at 13:11 UTC |