Login  
Search All Forums
Dart Home | PowerTCP Mail for ActiveX | Custom Development Reply | PowerTCP Mail for ActiveX Topics | Forums   
AuthorForum: PowerTCP Mail for ActiveX
Topic: Smtp via proxy server
richfrag

From: Staten Island, NY USA
Posts: 4
Member Since: 09/04/03
posted September 4, 2003 3:26 PM

Evaluating the mail tool

Is there functionality to send mail through a proxy server as in the ftp component?

thanks
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted September 4, 2003 3:56 PM

We have Winproxy in house and our stuff works fine with it. You just the proxy's address instead of the mail server when you call login.

Is there some other type of proxy you were having trouble with? If so, what brand?

richfrag

From: Staten Island, NY USA
Posts: 4
Member Since: 09/04/03
posted September 4, 2003 4:01 PM

Im writing a commercial application for use inside corporate networks so the more compatatbility the better.

If I use the proxys address insted of the mail servers, how does the proxy know what server to send the mail to?
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted September 4, 2003 4:32 PM

It looks like you set a default server in the proxy configuration. If you use another server then you specify it in the username that you pass to the Login method using a preset delimiter ( which would be known by the person using it )

So to make a long story short, I don't think we need to add anything internal. Your users will just have to specify the server correctly ( the same way they would with outlook )

richfrag

From: Staten Island, NY USA
Posts: 4
Member Since: 09/04/03
posted September 4, 2003 4:46 PM

It would be detramental for our product to have to modify our clients current proxy configurations. Other products simply allow you to specify a proxy to make the connection through, we have heard great things about your products and want to use them. So my question is as follows....


Using delphi, heres how we connect according to the example provided...

Smtp1.Login('mail.mydomain.com',25,'myUsername','myPassword');

How could I use a proxy to connect to this server?

Does this component have the ability to connect through a proxy server to send mail WITHOUT any modification to the proxy server itself?

Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted September 4, 2003 4:52 PM


I can only speak for WinProxy but according to the docs you would do it like so:

Smtp1.Login('proxyserver',25,'myUsername#mail.mydomain.com','myPassword');

I'm not sure what you mean about "WITHOUT any modification to the proxy server itself" I don't recall mentioning anything about changing things on the proxy

richfrag

From: Staten Island, NY USA
Posts: 4
Member Since: 09/04/03
posted September 4, 2003 6:19 PM

My apologies I thought you ment by the statement...

"It looks like you set a default server in the proxy configuration."

I assumed you ment the proxy configuration for the physical proxy. If your example is correct...

Smtp1.Login('proxyserver',25,'myUsername#mail.mydomain.com','myPassword');

Would try to connect to a proxyserver on port 25? Most of the proxy servers used are running on port 1080 such as socks

Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted September 4, 2003 8:28 PM

That's the first time you mentioned socks. Unfortunately our mail control does not support socks.

YOu might have better luck with our Mail for .NET product instead of the Mail tool.
Reply | PowerTCP Mail for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX