2

i want to send and receive mail using qmail in php. i have never used it before tell me how is it possible.

Thanks in Advance...

irshad
  • 91
  • 1
  • 6

1 Answers1

0

It is just another MTA. You configure PHP to send mail through it as you would any other SMTP server.

To handle incoming mail with PHP either have qmail deliver it somewhere and then poll that location, or get an MDA (such as procmail) that can pass incoming mail through a PHP script.

Quentin
  • 914,110
  • 126
  • 1,211
  • 1,335
  • how can i assign receiving location to qmail ?? – irshad May 23 '11 at 07:05
  • Configuring your system to use qmail to receive mail is entirely a matter of setting up qmail and your DNS. It has nothing to do with PHP or programming (so it off-topic for Stack Overflow). You could ask on Server Fault, but you'd probably be better off starting with the qmail manual. – Quentin May 23 '11 at 09:10