Sending email from you local machine using an O2 connection
Tuesday, April 21st, 2009I have just swapped my Broadband provider from Pipex (who are RUBBISH) to O2 - so far so good. All email from my local dev sites stopped to any addresses in the outside world.
It was not any firewall issues and I am sure that lots of other people will have this problem so here is the solution: use their email server and the details are as follows:
host: relay.o2broadband.co.uk
port: 25
An example from a .NET app with the settings in the web.config:
<system.net>
<mailSettings>
<smtp>
<network host=”relay.o2broadband.co.uk” port=”25″ />
</smtp>
</mailSettings>
</system.net>
I hope that saves someone 30 seconds.