This is the error
Warning: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set()

Recommended Answers

Do you have an SMTP server up and running? E.g. if you use XAMPP, it has "Mercury" installed, which you need to start.

Jump to Post

All 2 Replies

Member Avatar

Do you have an SMTP server up and running? E.g. if you use XAMPP, it has "Mercury" installed, which you need to start.

Looks like PHP's mail() function is trying to connect via SMTP, but it's either not installed or configured improperly.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.