sending mail alternatives...
| From: | Christian Dechery | Date: | Wed, 16 May 2001 15:15:03 +0000 |
| Subject: | sending mail alternatives... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-53053@lists.php.net to get a copy of this message | ||
I have an account at f2s.com and it seems to me that is IMPOSSIBLE to send mail... I've got answers from other users there that got it working... I don't know how....
below are listed all the things I've tried to do:
1 - use mail() function (even tested with the most basic mail("myemail","test","test"), and it returned false)
2 - use my alternate smail() function that calls 'sendmail' (it actually works until the popen(), then it stops...)
2 - placed a sendmail.php script in another site I have that can send emails... this sendmail.php receives querystring parameters to send the email... so I do an fopen("http://thisothersite.com/sendmail.php?to=email&from=lalal... etc...) and it works fine... I've tested it from a lot of sites...
the error it displays (after 60 seconds) is 'Bad file descriptor'
4 - built a function that sends mail with fsockopen (which also works, as tested) and call it with my local smtp server... for whatever smtp I place there it gives me timeout...
so I'm guessing there's a firewall there that blocks any access right?
why? Sending email is really that hazardous?
_________________________________
. Christian Dechery - CTO
.. WebDeveloper @ Webstyle!
.. http://www.webstyle.com.br
.. http://www.tanamesa.com.br