SMTP and PHP

Joined
Oct 2, 2006
Messages
65
Reaction score
0
Points
6
Your Mac's Specs
se30 16MHZ 1.44MBHD Performa 630 CD 33MHZ 250MBHD iMac G3 333MHZ 60GBHD iMac G4 800MHZ 250GBHD
Hello I'm trying to get smtp to work so I can send emails with PHP. I used RapidoSMTP to enable it. And I set up the php.ini file.
Here is what the php.ini file is set to.
Code:
[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25

; For Win32 only.
;sendmail_from = [email protected]

; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path =

; Force the addition of the specified parameters to be passed as extra parameters
; to the sendmail binary. These parameters will always replace the value of
; the 5th parameter to mail(), even in safe mode.
;mail.force_extra_parameters =
Here is the mail.log note that sally is my computers localhost.
Code:
Feb  8 13:36:25 Sally postfix/master[14]: terminating on signal 15
Feb  8 13:37:08 localhost postfix/master[14]: daemon started -- version 2.4.3, configuration /etc/postfix
Feb  8 13:37:09 localhost postfix/qmgr[52]: 4E9701BD3FA: from=<[email protected]>, size=291, nrcpt=1 (queue active)
Feb  8 13:37:09 localhost postfix/smtp[58]: 4E9701BD3FA: to=<[email protected]>, relay=none, delay=725, delays=725/0.17/0/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=gmail.com type=MX: Host not found, try again)
Feb  8 13:41:42 Sally postfix/smtp[221]: connect to alt2.gmail-smtp-in.l.google.com[64.233.167.27]: Operation timed out (port 25)
Feb  8 13:42:09 Sally postfix/qmgr[52]: 03F011BD297: from=<[email protected]>, size=291, nrcpt=1 (queue active)
Feb  8 13:42:09 Sally postfix/qmgr[52]: AB87F1BD163: from=<[email protected]>, size=291, nrcpt=1 (queue active)
Feb  8 13:42:09 Sally postfix/qmgr[52]: AF2D41BD289: from=<[email protected]>, size=291, nrcpt=1 (queue active)
Feb  8 13:42:12 Sally postfix/smtp[221]: connect to alt1.gmail-smtp-in.l.google.com[64.233.183.27]: Operation timed out (port 25)
Feb  8 13:42:12 Sally postfix/smtp[221]: 9CD561BD624: to=<[email protected]>, relay=none, delay=152, delays=0.56/0.03/151/0, dsn=4.4.1, status=deferred (connect to alt1.gmail-smtp-in.l.google.com[64.233.183.27]: Operation timed out)
Feb  8 13:42:40 Sally postfix/smtp[236]: connect to gmail-smtp-in.l.google.com[209.85.133.114]: Operation timed out (port 25)
Feb  8 13:42:40 Sally postfix/smtp[237]: connect to gmail-smtp-in.l.google.com[209.85.133.114]: Operation timed out (port 25)
Feb  8 13:42:40 Sally postfix/smtp[238]: connect to gmail-smtp-in.l.google.com[209.85.133.114]: Operation timed out (port 25)
Feb  8 13:43:10 Sally postfix/smtp[236]: connect to gmail-smtp-in.l.google.com[209.85.133.27]: Operation timed out (port 25)
Feb  8 13:43:10 Sally postfix/smtp[237]: connect to gmail-smtp-in.l.google.com[209.85.133.27]: Operation timed out (port 25)
Feb  8 13:43:10 Sally postfix/smtp[238]: connect to gmail-smtp-in.l.google.com[209.85.133.27]: Operation timed out (port 25)
Feb  8 13:43:40 Sally postfix/smtp[236]: connect to alt1.gmail-smtp-in.l.google.com[64.233.183.27]: Operation timed out (port 25)
Feb  8 13:43:40 Sally postfix/smtp[237]: connect to alt1.gmail-smtp-in.l.google.com[64.233.183.27]: Operation timed out (port 25)
Feb  8 13:43:40 Sally postfix/smtp[238]: connect to alt1.gmail-smtp-in.l.google.com[64.233.183.27]: Operation timed out (port 25)
Feb  8 13:44:10 Sally postfix/smtp[236]: connect to alt2.gmail-smtp-in.l.google.com[64.233.167.27]: Operation timed out (port 25)
Feb  8 13:44:10 Sally postfix/smtp[237]: connect to alt2.gmail-smtp-in.l.google.com[64.233.167.114]: Operation timed out (port 25)
Feb  8 13:44:10 Sally postfix/smtp[238]: connect to alt2.gmail-smtp-in.l.google.com[64.233.167.27]: Operation timed out (port 25)
Feb  8 13:44:40 Sally postfix/smtp[236]: connect to alt2.gmail-smtp-in.l.google.com[64.233.167.114]: Operation timed out (port 25)
Feb  8 13:44:40 Sally postfix/smtp[237]: connect to alt2.gmail-smtp-in.l.google.com[64.233.167.27]: Operation timed out (port 25)
Feb  8 13:44:40 Sally postfix/smtp[238]: connect to alt2.gmail-smtp-in.l.google.com[64.233.167.114]: Operation timed out (port 25)
Feb  8 13:44:40 Sally postfix/smtp[236]: 03F011BD297: to=<[email protected]>, relay=none, delay=1612, delays=1461/0.39/151/0, dsn=4.4.1, status=deferred (connect to alt2.gmail-smtp-in.l.google.com[64.233.167.114]: Operation timed out)
Feb  8 13:44:40 Sally postfix/smtp[237]: AB87F1BD163: to=<[email protected]>, relay=none, delay=2000, delays=1849/0.38/151/0, dsn=4.4.1, status=deferred (connect to alt2.gmail-smtp-in.l.google.com[64.233.167.27]: Operation timed out)
Feb  8 13:44:40 Sally postfix/smtp[238]: AF2D41BD289: to=<[email protected]>, relay=none, delay=1660, delays=1509/0.35/151/0, dsn=4.4.1, status=deferred (connect to alt2.gmail-smtp-in.l.google.com[64.233.167.114]: Operation timed out)
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top