|
Posted by comp.lang.php on 11/13/06 17:15
Jerry Stuckle wrote:
> comp.lang.php wrote:
> > I came up with functions that I thought would do the trick:
> >
> <code snipped>
> > So basically, what on earth did I do wrong?
> >
> > Phil
> >
> Phil,
>
> You are not connecting to the SMTP server - as the message said,
> getaddrinfo failed, and it's considered a temporary failure.
>
> A lot of things could cause this. A bad domain name, a hiccup in the
> DNS you're using, a bad "hosts" file entry, a firewall are some examples.
>
> Can you telnet to smtp.erols.com port 25 from your server?
>
I can telnet to it but it just hangs my terminal window and I have to
close it, I cannot escape out.
I found out that when I test on the live server it works much moreso
than on the development server which has no email server. How can I
detect if I have an email server so as not to try to connect to the
remote email server if my server is incapable of doing so?
Secondly, I still can't tell if the email address is bogus or valid
because it just sends an email instead of telling me that the email
exists on the remote server.
Phil
> --
> ==================
> Remove the "x" from my email address
> Jerry Stuckle
> JDS Computer Training Corp.
> jstucklex@attglobal.net
> ==================
[Back to original message]
|