hello, im using a wamp server and i want to sent an email and after writting the code, im getting an error that says 'warning: mail() [function.mail]: failed to connect to mail server at localhost port 25, verify your SMTP and smtp_port setting in php.ini or use ini_set().'
Im not familiar with the php.ini file so i need help to fix this error.
![Member Avatar for James singizi](https://static.daniweb.com/connect/images/anonymous.webp)
James singizi
![Member Avatar for LastMitch](https://static.daniweb.com/connect/images/anonymous.webp)
LastMitch
![Member Avatar for James singizi](https://static.daniweb.com/connect/images/anonymous.webp)
James singizi
rayidi commented: It will works for localhost with out ssl connection +2
moneeshot 0 Newbie Poster
![Member Avatar for James singizi](https://static.daniweb.com/connect/images/anonymous.webp)
James singizi
![Member Avatar for LastMitch](https://static.daniweb.com/connect/images/anonymous.webp)
LastMitch
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.