note 52573 added to ref.mail
| From: | php-general at lists dot php dot net | Date: | Fri, 06 May 2005 07:16:02 +0000 |
| Subject: | note 52573 added to ref.mail | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-88987@lists.php.net to get a copy of this message | ||
sangrios2 at gmail dot com:
Gmail smtp uses port 465 instead of port 25. Security through obscurity - I don't know? Anyway,
it is like this.
Also, Gmail uses TLS (encryption), not sure if the smtp module handles TLS, doubt it. So you will
probably have to use another server.
You could just use the smtp that runs on your server, there is usually one running. In the good old
times you would just use "someone@localhost-or-your-domain-name" and let sendmail sort it
out. Always worked fine.
However, thanks to this vermin of advertizing agents who kept abusing this in the past to spam
people, you are now required to set a MX record in your DNS to the server that runs . Otherwise, no
mail server worldwide will accept mail from you :(
This can be quite annoying if you don't have access to your MY records.
----
Manual Page -- http://www.php.net/manual/en/ref.mail.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+52573
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+52573&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+52573&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+52573&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+52573&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+52573&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+52573&report=yes
Search -- http://master.php.net/manage/user-notes.php