Sending mail without using mail()
| From: | Jaime Iniesta Aleman | Date: | Fri, 16 Nov 2001 09:01:13 +0000 |
| Subject: | Sending mail without using mail() | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-74841@lists.php.net to get a copy of this message | ||
Ok, where can I find a tutorial about sending mail using fsockopen ?
***
> Hi, is it possible to send SMTP mail if the server where are my pages
> hosted forbids the use of the mail() function ? I mean, by opening a
> sockets connection to an external SMTP server and writing the commands
> there directly...
Yes, *IF*:
The ISP was not smart enough to realize this and didn't disable the
http://php.net/fsockopen function
Your SMTP server will accept connections from your web-server.