Author Topic: wxcontact and smtp config  (Read 193 times)

0 Members and 1 Guest are viewing this topic.

Offline asyscom

  • Member
  • *
  • Posts: 2
    • Stazione meteo La Spezia
wxcontact and smtp config
« 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

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 8766
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: wxcontact and smtp config
« Reply #1 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.
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

 

anything