DIYMacServer » PHP

2 posts

Leopard Client - problem using PHP Mail function

started at 28 Aug 2008
started by mauricioarango
last reply from richard
  • mauricioarango
    28 Aug 2008
    #

    Hi,

    I would appreciate your help with this issue. It's 4 am and I haven't done much progress.

    I am working under Leopard 10.5.4 <client> on an Intel Mac. Php 5.2, Apache 2, and Mysql are already installed and working well for the most.

    My only problem is that I cannot use the php's mail() function. I have tried editing postFix's main.cf file as instructed in one site, but haven't got any good results. Other sites estate that On 10.5, you can send email without extra configuration so it is very confusing.

    I am not an expert by any means so if you can give me any hints please try to cater to a very entry level person please.

    Btw, this is a sample of what i get in the mail's log file:

    Aug 28 04:24:45 mauricio-arangos-macbook-pro-17 postfix/qmgr[187]: 9654B3692EB: from=<_www@mauricio-arangos-macbook-pro-17.local>, size=412, nrcpt=1 (queue active)
    
    Aug 28 04:25:16 mauricio-arangos-macbook-pro-17 postfix/smtp[245]:
    connect to gmail-smtp-in.l.google.com[74.125.45.114]: Operation timed out (port 25)

    Thanks for your help,

    Mauricio

  • 06 Sep 2008
    #

    You don't need to configure postfix, and please don't, if you just want to send email. You need to configure php.ini with the correct settings (please google for those) to connect to your ISP's mail server and it will be allright.

Reply

You must log in to post.