Page 1 of 1
smtp + external server IP
Posted: Thu Mar 05, 2009 11:30 pm
by jemminger
I'm trying to use swift mailer smtp using an external IP rather than a domain name, but it seems to be connecting to localhost no matter what. How do I get it to connect to an external mail server by IP?
Re: smtp + external server IP
Posted: Fri Mar 06, 2009 4:02 pm
by Chris Corbyn
What code are you using? The SMTP connection class should accept an IP address in its constructor

Re: smtp + external server IP
Posted: Fri Mar 06, 2009 4:26 pm
by jemminger
Yeah, I did some more investigation and found that the function I was using to pass the IP to the constructor didn't actually contain what I thought it did
Refactored and fixed my unit tests for that function and all is well now
