note 37414 added to ref.mail

From: Date: Fri, 14 Nov 2003 08:25:51 +0000
Subject: note 37414 added to ref.mail
Groups: php.notes 
Request: Send a blank email to php-notes+get-60368@lists.php.net to get a copy of this message
A tip for people who do their coding on Windows: PHP tries to talk to port 25 (SMTP) on the local machine. I set up an SSH tunnel so that port 25 on my Windows laptop forwards, through an encrypted SSH tunnel, to port 25 on my server. So when PHP on my laptop tries to send email via local port 25, it's actually talking to Sendmail on my Linux server. Use Putty for this, it's great! I discovered this by accident when I didn't expect that my local PHP would be able to send mail out, but it was. Turns out I'd just left my mail tunnel turned on. ---- Manual Page -- http://www.php.net/manual/en/ref.mail.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+37414 Delete -- http://master.php.net/manage/user-notes.php?action=delete+37414&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+37414&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#60368) next »