Changing SMTP server automatically
Hey guys,
I have an interesting issue here. I have a laptop, and would like to use it at home, at work, and on the road. The issue I've got, though, is the way my ISP deals with SMTP for outgoing email.
I have a DSL connection at home with an ISP called Telus (Canada). They insist that all outbound email must go through them. If I set up my outbound SMTP server as anything other than smtp.telus.net, I cannot send email. Further, in order to use my DSL connection, I must register my MAC address with Telus.
This is all good, until I leave home. If I plug my laptop in at work, where we use a different ISP, I cannot send email. No doubt because the MAC address of their firewall is different, so it won't let me authenticate to Telus's SMTP server. I can also see how this will be an issue if I hit a "hot spot" with Wireless access as well.
Does anyone know how to deal with this? The only thing I can think of is to use VBA to test the name of the ISP (that could be fun), and change the SMTP via code depending on if it is/isn't Telus.
I don't suppose that I am overthinking this, am I? I'm really hoping that there is an easier solution. : pray2:
I am going to email my ISP to find out if there is a setting on their end, but having dealt with this company before, I'm not exactly hopeful...