Hai,

i want to send mail from my localhost in php,i try to using my outlookexpress smtp and email parameters but it gives
warning like this
Warning: mail() [function.mail]: SMTP server response: 553 Sorry, that domain isn't in my list of allowed rcpthosts. in D:\wamp\ww
It's possible to send mail from localhost ,then what are the changes php. ini settings for sending mail

Any one help me,
Thanks
Bala

Recommended Answers

All 2 Replies

You may have to use your ISP's SMTP setting. For example, I have to swap the SMTP setting for receiving mail at home and in the office using the same laptop.

Have you tried something like:

mail($Recipient,$Subject,$Comments);


It should work without having to configure any settings.

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.