Send mails via Lotus

I am developing a PHP site and I want to use the mail function in PHP to send mail to the users about there registration confirmation process and other informations automatically.

I want to find out how lotus sends and receives mails? Which protocol does it use. Can i use Domino server? Does it use smtp protocol.? what is the port no. Is there any PHP code to connect to the lotus client and send mail automatically.

I had happened to see some stuff with COM which connects to the Lotus Client and sends and reads mails. I want some more clarity on the issue.

Subject: Depends

Domino can send mail a variety of ways. It depends on how your server is setup. I personally prefer SMTP. It will say in the first tab in the server document how the server sends mail. If you are looking at sending mail from Domino to your app, I could help with that. I have some script that uses Lotusscript to compose messages. I’m guessing the best way to do this is have you PHP page call a Domino agent from your page. This agent would then send the mail. Or if your PHP is on an entirely different server, you could write a file to a share and the Domino server could run a scheduled agent to check that shared drive for files, compose the messages and send them. Just some thoughts. Let me know if you want the script.