Quantcast
Channel: General
Viewing all articles
Browse latest Browse all 7363

How to verify my SMTP in order send emails from my PHP website with Webmatrix 3?

$
0
0

I'm trying to create a page that sends a verification email upon registration with the mail() function, however it won't work. This is the error that comes up:

Warning: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" 
setting in php.ini

It's telling me to verify my SMTP and smtp_port but how do I do that? I had a look online and nothing was of value. There was mention of installing a mail server, however I don't know if that was already installed with webmatrix 3. Does it, or should I install one?


Viewing all articles
Browse latest Browse all 7363

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>