Skip to main content
Known Participant
March 11, 2025
Answered

Contact form not sending

  • March 11, 2025
  • 1 reply
  • 160 views

Hello.

 

My contact form on my site is not sending when I test submitting a message. I posted earlier on here and was told to check with my host provided. They however believe it to be a code issue.

 

This is the error:  Message could not be sent: Could not instantiate mail function.

 

Website: https://kylehawkinscreative.com/

 
[PHPMAILER  AND GOOGLE SCRIPTS REMOVED BY MODERATOR]
 
Correct answer Nancy OShea

PHP MAILER is a mail sending library used as an alternative to the PHP MAIL() function.

 

Which version of PHP is supported by your server?  This will determine which version of PHP MAILER you must use.  See below for more details on PHP MAILER

https://github.com/PHPMailer/PHPMailer

 

Examples/Read Me

https://github.com/PHPMailer/PHPMailer/blob/master/examples/README.md

 

1 reply

Nancy OShea
Community Expert
Nancy OSheaCommunity ExpertCorrect answer
Community Expert
March 11, 2025

PHP MAILER is a mail sending library used as an alternative to the PHP MAIL() function.

 

Which version of PHP is supported by your server?  This will determine which version of PHP MAILER you must use.  See below for more details on PHP MAILER

https://github.com/PHPMailer/PHPMailer

 

Examples/Read Me

https://github.com/PHPMailer/PHPMailer/blob/master/examples/README.md

 

Nancy O'Shea— Product User & Community Expert