Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Jul : idsmtp + proxy
| Subject: | idsmtp + proxy |
| Posted by: | "Marcelo" (mcgal-n-o-s-p-a-m-ig.com.br) |
| Date: | Thu, 13 Jul 2006 10:39:20 |
how can i setup indy 9 or 10 with proxy ?
i don't have problem when i tested idhttp or idftp to work with proxy server, but when i try to use
the same technic to setup idsmtp , i cannot make the proxy work correctly..
because i cant find the ip of proxy in sended message...
//this code should work with indy 9..but i cant find the ip of proxy in message sended.
//if i cannot find the ip address of the proxy in the message sended , i think that the proxy
// isnt working, i think...
IdIOHandlerSocket1.SocksInfo:=IdSocksInfo1;
idSMTP1.IOHandler1 := IdIOHandlerSocket1;
idSMTP1.Host:=edit_mysmtp;
idSMTP1.Port := 25;
IdSocksInfo1.Host:= '202.159.203.175' //the ip of the proxy
IdSocksInfo1.Port:=80;
[]s
Marcelo C
mcgal@_NOSPAM_ig.com.br
obs: to contact me directly , remove the _NOSPAM_