WXforum.net

Web Weather => Weather Website PHP/AJAX scripting => Topic started by: asyscom on November 28, 2022, 05:39:13 AM

Title: wxcontact and smtp config
Post by: asyscom on November 28, 2022, 05:39:13 AM
Hello,
I downloaded and configured wxcontact with recaptcha, but where are the settings for smtp settings? I have to set the parameters or no mail will ever be sent. Right?
Thanks in advance
Title: Re: wxcontact and smtp config
Post by: saratogaWX on November 28, 2022, 11:03:02 AM
The script uses the PHP built-in mail() function, so there's no SMTP configuration for the script.  The PHP instance has to be configured to allow outbound mail.  Most (all?) hosting sites have that enabled already.  If you're running your own server then you need to configure PHP itself to connect to your outgoing mail service.

The script only needs your email address to send the email to.