Page 1 of 1

gateway for my SMTP ?

Posted: Mon Feb 02, 2009 9:11 am
by aneuryzma
How can I use a gateway for my SMTP ?

They told me to use smtp.provider.com
and 10.0.0.1 as a gateway

$smtp = new Swift_Connection_SMTP("smtp.provider.coml");

thanks

Re: gateway for my SMTP ?

Posted: Mon Feb 02, 2009 10:31 am
by xdecock
gateway is used as os level to send packet from one network to another, so it should be automatic

Re: gateway for my SMTP ?

Posted: Mon Feb 02, 2009 9:43 pm
by Chris Corbyn
If you're getting timeouts it's possible that your host are firewalling the connection in such away that the packets just being dropped (so you get a long hang with no response).

I'm not sure why your host are telling you to use a set gateway... that's not handled at the application level.