No difference to me how, just want to have computer independent function for sending e-mails, to be able to move my scripts between different computers without changing php code or passwords, logins, etc
mail('someone@somedomain.com', 'subject', 'message','From: webmaster@example.com');
just works, without anything else, i want to get this working on my pc too to be able to test chages locally, not on public server.
[mail function]
; For Win32 only.
; http://php.net/smtp
SMTP = localhost
; http://php.net/smtp-port
smtp_port = 25
Nov 17 16:27:19 localhost sendmail[1088]: starting daemon (8.14.5): SMTP+queueing@01:00:00
Nov 17 16:27:20 localhost sm-msp-queue[1135]: starting daemon (8.14.5): queueing@01:00:00
Nov 17 16:51:47 localhost sendmail[3029]: pAHLpkNx003029: from=nobody, size=1613, class=0, nrcpts=1, msgid=<956d7da0ef655a8d955c330b813168f5@70.88.58.12>, relay=nobody@localhost
Nov 17 16:51:47 localhost sendmail[3032]: pAHLplfU003032: from=<nobody@localhost.localdomain>, size=1706, class=0, nrcpts=1, msgid=<956d7da0ef655a8d955c330b813168f5@70.88.58.12>, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Nov 17 16:51:47 localhost sendmail[3029]: pAHLpkNx003029: to==?UTF-8?B?YWRtaW4=?= <jonx@newt.com>, ctladdr=nobody (99/99), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=31613, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (pAHLplfU003032 Message accepted for delivery)
Nov 17 16:51:50 localhost sendmail[3034]: pAHLplfU003032: to=<jonx@newt.com>, ctladdr=<nobody@localhost.localdomain> (99/99), delay=00:00:03, xdelay=00:00:03, mailer=esmtp, pri=121706, relay=mx4.ij.net. [207.22.166.97], dsn=2.0.0, stat=Sent (message sent ok)
Nov 17 17:04:50 localhost sendmail[3368]: pAHM4oEu003368: from=nobody, size=1243, class=0, nrcpts=1, msgid=<1a5f1a9aa7b8a187582d39054d489fa0@70.88.58.12>, relay=nobody@localhost
Nov 17 17:04:50 localhost sendmail[3371]: pAHM4oHu003371: from=<nobody@localhost.localdomain>, size=1336, class=0, nrcpts=1, msgid=<1a5f1a9aa7b8a187582d39054d489fa0@70.88.58.12>, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Nov 17 17:04:50 localhost sendmail[3368]: pAHM4oEu003368: to==?UTF-8?B?Sm9uQg==?= <jxxxxxxx@gmail.com>, ctladdr=nobody (99/99), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31243, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (pAHM4oHu003371 Message accepted for delivery)
Nov 17 17:04:51 localhost sendmail[3373]: STARTTLS=client, relay=gmail-smtp-in.l.google.com., version=TLSv1/SSLv3, verify=FAIL, cipher=RC4-SHA, bits=128/128
Nov 17 17:04:52 localhost sendmail[3373]: pAHM4oHu003371: to=<jxxxxxxx@gmail.com>, ctladdr=<nobody@localhost.localdomain> (99/99), delay=00:00:02, xdelay=00:00:02, mailer=esmtp, pri=121336, relay=gmail-smtp-in.l.google.com. [74.125.45.27], dsn=2.0.0, stat=Sent (OK 1321567493 y10si1182615ane.177)
Nov 17 17:05:27 localhost sendmail[3383]: pAHM5RPV003383: from=nobody, size=1340, class=0, nrcpts=1, msgid=<756374e81eb6396e5efb88d4df971079@70.88.58.12>, relay=nobody@localhost
Nov 17 17:05:28 localhost sendmail[3386]: pAHM5RpZ003386: from=<nobody@localhost.localdomain>, size=1433, class=0, nrcpts=1, msgid=<756374e81eb6396e5efb88d4df971079@70.88.58.12>, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Nov 17 17:05:28 localhost sendmail[3383]: pAHM5RPV003383: to==?UTF-8?B?Sm9uQg==?= <jxxxxxxx@gmail.com>, ctladdr=nobody (99/99), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=31340, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (pAHM5RpZ003386 Message accepted for delivery)
Nov 17 17:05:28 localhost sendmail[3388]: STARTTLS=client, relay=gmail-smtp-in.l.google.com., version=TLSv1/SSLv3, verify=FAIL, cipher=RC4-SHA, bits=128/128
Nov 17 17:05:29 localhost sendmail[3388]: pAHM5RpZ003386: to=<jxxxxxxx@gmail.com>, ctladdr=<nobody@localhost.localdomain> (99/99), delay=00:00:02, xdelay=00:00:01, mailer=esmtp, pri=121433, relay=gmail-smtp-in.l.google.com. [74.125.45.26], dsn=2.0.0, stat=Sent (OK 1321567530 y15si14905945any.35)
Nov 18 22:56:38 GUGUmobile6555b sendmail[15967]: pAILucXj015967: from=nobody, size=121, class=0, nrcpts=1, msgid=<201111182156.pAILucXj015967@localhost.localdomain>, relay=nobody@localhost
Nov 18 22:56:38 GUGUmobile6555b sendmail[15972]: pAILucun015972: from=<nobody@localhost.localdomain>, size=358, class=0, nrcpts=1, msgid=<201111182156.pAILucXj015967@localhost.localdomain>, proto=ESMTP, daemon=MTA, relay=GUGUmobile6555b [127.0.0.1]
Nov 18 22:56:38 GUGUmobile6555b sendmail[15967]: pAILucXj015967: to=wiesiu.wombat@gmail.com, ctladdr=nobody (99/99), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30121, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (pAILucun015972 Message accepted for delivery)
Nov 18 22:56:38 GUGUmobile6555b sendmail[15974]: STARTTLS=client, relay=gmail-smtp-in.l.google.com., version=TLSv1/SSLv3, verify=FAIL, cipher=RC4-SHA, bits=128/128
Nov 18 22:56:39 GUGUmobile6555b sendmail[15974]: pAILucun015972: to=<wiesiu.wombat@gmail.com>, ctladdr=<nobody@localhost.localdomain> (99/99), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=120358, relay=gmail-smtp-in.l.google.com. [74.125.39.27], dsn=5.0.0, stat=Service unavailable
Nov 18 22:56:39 GUGUmobile6555b sendmail[15974]: pAILucun015972: pAILudun015974: DSN: Service unavailable
Nov 18 22:56:39 GUGUmobile6555b sendmail[15974]: pAILudun015974: to=root, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=31611, dsn=2.0.0, stat=Sent
Users browsing this forum: No registered users and 13 guests