You have to set the SMTP variable on PHP.INI to the IP address or domain name (if resolved correctly from the machine where php is running), of the machine where XMail is running. I think is the same machine in this case, so maybe it may be localhost or 127.0.0.1.
If you have setup XMail to authenticate before sending email, maybe is better to get a Mail library for php that takes care of the authentication for you, take a look at www.phpclasses.org under Mail section. Hope this helps. Samuel Romero. 5/30/2002 10:24:47 AM, Roberto Sand�a <[EMAIL PROTECTED]> wrote: > >Hello all >I have installed XMail 1.7 in a RedHat 6.0 + Apache + PHP >How I have to configure the file php.ini to be able to use the function >mail() of php? > >Thanks. > >Roberto Sand�a > > >- >To unsubscribe from this list: send the line "unsubscribe xmail" in >the body of a message to [EMAIL PROTECTED] >For general help: send the line "help" in the body of a message to >[EMAIL PROTECTED] > > - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to [EMAIL PROTECTED] For general help: send the line "help" in the body of a message to [EMAIL PROTECTED]
