Home Forums OS X Server and Client Discussion Mail Questions: PHP with sending mail on Mac OS X Server 10.2

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #356674
    x-hj-x
    Participant

    Hi! I’m new to all of this, and here’s what I’m wondering:

    Soon I’ll have access to an Xserve running MOSX Server 10.2, which I want to use ONLY as a web server, basically. I want to change as little about the default setup as possible. One of the things I’ll want to do is use the “mail” command in PHP to send email to arbitrary addresses out on the ‘net.

    I know that PHP uses sendmail to do its thing. I also know that MOSX Server’s mail server is sendmail-based. Does that mean that I can turn on the mail server, turn on PHP, and the mail command will work properly? If not, what would I need to do to get PHP sending mail? (Keep in mind, [i:561810f05d]all[/i:561810f05d] I need to do mail-wise is send mail from PHP scripts– I don’t need to host mail accounts, etc.)

    Any help would be appreciated! Unfortunately, I’m going to have very little time to configure and play with the Xserve before it goes live, which is one reason I’m hoping to keep it as close to its out-of-the-box configuration as possible.

    #357208
    carlocas
    Participant

    What do you mean by “SMTP injection” ?
    In other words do you know of any “idiot proof” step by step tutorial to configure PHP so that is can send emails on a clean 10.2 or 10.3 Server ?
    Thank you very much

    #357209
    Anonymous
    Participant

    You may want to consider the phpmail class http://phpmailer.sourceforge.net/ as an alternative way to php mail

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Comments are closed