| re: mail with pear... i don't understand...
L'astemio wrote:[color=blue]
>
> i try to make this code connect to mailserver A (mail.domain.com),
> with authentication, and all is ok. no, not all: I write to 2
> differents address (by changing the parameters in the code) and
> an address receives mail, the other one doesn't receive any mail.
> I try to use the same server by using my standard mail client,
> and I can reach both address. first thing I don't understand.
> someone can tell me what's happening? :-)[/color]
Most likely, the second server filters PHP-generated messages out
based on something it reads in the message headers. Compare the
headers of PHP-generated message with those of the message sent
with a standard client program; this may give you some clues.
[color=blue]
> the second thing is that if I try to use another mailserver
> (mail.otherdomain.com) the script doesn't run at all.[/color]
Are any error messages displayed?
Cheers,
NC |