How to customize the PHPMailer function in the in-built Contact Form?

nothingsafeforwork
1 Posts
nothingsafeforwork posted this 13 February 2023
Ask a Question

Hello,

I would like to know what are the required variables I need to set to get the PHPMailer of the in-built Contact Form to work. I am currently trying to create a contact form for my website, but I can't get the PHPMailer to work. I am using an Amazon Linux 2 server with Apache2 as the host of this server and I have set up the PHPMailer according to the details of the internal SMTP server details. I have set the following listed: $Mailer to SMTP, $Host, $Port, $SMTPSecure, $SMTPAutoTLS, $SMTPAuth, $SMTPOptions, $Username, $Password, and $AuthType. However, I always get the POST 500 (Internal Server Error). Is there anything I can do to fix this?

Hello, I would like to know what are the required variables I need to set to get the PHPMailer of the in-built Contact Form to work. I am currently trying to create a contact form for my website, but I can't get the PHPMailer to work. I am using an Amazon Linux 2 server with Apache2 as the host of this server and I have set up the PHPMailer according to the details of the internal SMTP server details. I have set the following listed: $Mailer to SMTP, $Host, $Port, $SMTPSecure, $SMTPAutoTLS, $SMTPAuth, $SMTPOptions, $Username, $Password, and $AuthType. However, I always get the POST 500 (Internal Server Error). Is there anything I can do to fix this?
Vote to pay developers attention to this features or issue.
1 Reply
Order By: Standard | Newest
Support Team
Support Team posted this 13 February 2023

Hi,

Thanks for contacting us

For all questions related to the issues of setting up a mail server, you need to ask contact your hosting to determine whether sending letters works or not and, if so, what has to be done to set it up.

Our script adjusts automatically if sending the emails will work on the hosting.

Also, check our documentation below
https://nicepage.com/doc/62334/send-emails-with-php-script

Thank you.
...................................................
Sincerely,
Ahmad.
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hi, Thanks for contacting us For all questions related to the issues of setting up a mail server, you need to ask contact your hosting to determine whether sending letters works or not and, if so, what has to be done to set it up. Our script adjusts automatically if sending the emails will work on the hosting. Also, check our documentation below https://nicepage.com/doc/62334/send-emails-with-php-script Thank you. ................................................... Sincerely, Ahmad. Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
You must log in or register to leave comments