Rich mail behind a proxy

Rich mail behind a proxy


I'm trying to use the rich mail extension and i'm getting the following error:

No such host is known at System.Net.Dns.GetAddrInfo(String name)
at System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6)
at System.Net.Dns.GetHostAddresses(String hostNameOrAddress)
at System.Net.Sockets.TcpClient.Connect(String hostname, Int32 port)
at OutSystems.NssRichMail.SMTPMail.SendMail()

I suppose it's because the server is behind a proxy server. I've tryed putting both the IP and hostname on the RichMailSend Server argument mail and it doesn't work.
Through telnet I can connect if i supply the IP but not the hostname.
The network technician here in the company have try some sort of bypass or routing over the proxy (or something like that) but it still doesn't work.

Any ideias?


Nuno Freire

After all I got it to work.
I was passing a Site property (where I had the SMTP server IP stored) to the RichMailSend Server argument and it didn't work.
I tried passing the IP address directly to the RichMailSend Server argument and it worked!
Why? No ideia :S

but thanks anyway

Nuno Freire

Did you compare the default site property value with the effective one? Was the effective one the same as you wanted? Also, it is not uncommon to place an enter after the effective value, if you are updating the site property via servicecenter. This is enough to make IP configurations fail

Best regards