So, does that mean I should be using localhost instead of the FQDN in the code? By your reply it doesn't seem to make any difference whether I use localhost or the FQDN.We have changed the localhosts to work with a proper FQDN now as well, they can still get blocked in some cases but mail delievery is much better now overall.
Thanks for the quick reply.
.brit