From that error message, I would surmize that you have not installed a mail server on localhost:25.
But from the information provided, that is just a guess.
As Steven and others have said many times on this fourm:
Wamp does not natively have a mail server, you need to provide a mail server for sendmail to connect to.
The mail server can be on the same machine as Wamp, in which case
Forum:
WampServer English