Mike Peschka <mike <at> phintec.com> writes:
>
> I suspect that the mail server is only configured to allow relay from
> the loopback address (127.0.0.1). Using the machine name will resolve to
> the actual IP address of the system, so the connection won't be allowed
> to relay. Try setting SmtpMail.SmtpServer to a value of "localhost".
> That will resolve to the loopback address, and should allow you to
> relay.
localhost needs the same relay access settings as machine name does. I just
checked that out.