Configuring PHP under Windows to use Gmail or External SMTP Server [SSL]

Discussion in 'Application Guides' started by Nimrod, Oct 17, 2008.

  1. snazy2000

    snazy2000 New Member

    Joined:
    Nov 22, 2010
    Messages:
    4
    Likes Received:
    0
    Sorry for doing this :/ i does work but it dont send the email. It says in the script thats sent in the browser that its sent but i goto the imbox and its not there. If i do it with cmd it send the email :S how does this work.... help..
     
  2. swimming

    swimming New Member

    Joined:
    Jun 7, 2011
    Messages:
    1
    Likes Received:
    0
    Hi
    I used the gmail to set my PHP mail function. It shows email send out success, but actually I did not receive. Then I check PHP error log, there's nothing; then I check sendmail folder error, it shows "Connect timed out", how to fix it? Thank you
     
  3. RGI_Matthew

    RGI_Matthew New Member

    Joined:
    Jul 20, 2011
    Messages:
    1
    Likes Received:
    0
    I have followed the steps and am able to send email using our companies google apps account. Here is the issue. The emails are being sent with a time that is 7 hours old. I have checked the machine sending the emails and the time is correct GMT-7. When I adjust the machines time to being 7 hours ahead the emails show as being sent at the correct time. This is not a good solution for me as the software relies on the local time being accurate. Where can I adjust the timestamp? Here is an email message that arrived with a sent time as being 7 hours old.

    Received: from VM-SN-DEMO.ridgetopgroup.com ([74.94.94.113]) by mx.google.com with ESMTPS id k8sm495260yhm.73.2011.07.19.16.26.09 (version=SSLv3 cipher=RC4-MD5); Tue, 19 Jul 2011 16:26:10 -0700 (PDT) Message-ID: <4e261292.08b5ec0a.61c0.2a8c@mx.google.com> Date: Tue, 19 Jul 2011 16:26:07 +0000
     
  4. spydre

    spydre New Member

    Joined:
    Sep 22, 2011
    Messages:
    1
    Likes Received:
    0
    I have the same issue. The emails received have a time stamp that is 5 hours off but the PHP code inside the email is correct. I tried adjusting the PHP.ini date.timezone setting but this did nothing. I found some info on adjusting the sendmail.mc and .cf files but this seems only for a UNIX install as these files do not exist in the Windows version. Anyone else experience the issue and possibly know where to adjust the setting?
     

Share This Page