I bought component revently and I`m pretty happy about that. But I have still several questions. So I will be very glad, if you clarify them.
|
|
Several more questions: 1. how can I set alternative dns for mailman.MxLookup(...) ? 2. is any caching mechanism implemented in mailman.MxLookup(...) ? 3. How can I setup alternative MAIL FROM for mailman.SendEmail(...) ? I answered the "MAIL FROM" question here: http://www.chilkatforum.com/questions/1664/alternative-mail-from-for-mailmansendemail
(Nov 25 '12 at 14:02)
chilkat ♦♦
I'm sorry to say it's not possible to set an alternative DNS for MxLookup. Chilkat doesn't explicitly cache the MX lookup. However, the underlying operating system calls may involve caching at some level. Internal to Chilkat, on Windows systems, the DnsQuery Win32 Platform SDK function is called. On non-Windows systems, the res_query system call is used.
(Nov 25 '12 at 14:07)
chilkat ♦♦
If you wish to use an alternative DNS server, your application would need to do the lower-level MX lookup via these system calls (res_query or DnsQuery) and then use the IP address directly with Chilkat. (I cannot provide general help with DnsQuery or res_query.)
(Nov 25 '12 at 14:09)
chilkat ♦♦
|
what about cookies? and how can I setup referer and user agent in this case? They are request header fields, but where can I set them for Chilkat.HttpRequest ? also how can I add any alternative headers to the request? For QuickGetStr I was setting that in the following way (listed below), but how can I set them for PostUrlEncoded ? Chilkat.Http http = new Chilkat.Http(); if (extraHeaders != null) { IDictionaryEnumerator extraHeadersEnumerator = extraHeaders.GetEnumerator();
Call the Chilkat.HttpRequest.AddHeader(name,value) method. For example: request.AddHeader("Referer","http://www.xyz.com/abc.aspx");
(Nov 25 '12 at 14:12)
chilkat ♦♦
|
I already sent to admin@chilkatsoft.com proxy server ip,port,login,pass, when should I wait for the answer? Thanks, I'm having a look.
(Nov 25 '12 at 14:14)
chilkat ♦♦
|
Yes, they do. However, your particular proxies only allow HTTP traffic. I tested both your HTTP and SOCKS proxies with Chilkat HTTP, and Chilkat works fine with them. However, your proxies DO NOT allow non-HTTP traffic, i.e. non-HTTP protocol traffic, such as SMTP, IMAP, etc. Chilkat's proxy implementation is functioning correctly, it's just that your particular proxy servers reject all non-HTTP traffic. |
but I tried SOCKS (which send to you) with SMTP and IMAP - works with both. Ok if these ones does not work with sockets lib - can you give any proxy or any provider, which can work with your socket lib? Any example (maybe from your previous customers?) |
The Chilkat Socket API works fine with HTTP and SOCKS proxies -- but your proxy servers do not allow non-HTTP traffic. For example, if the destination port is 80, your proxy server allows it. If the port is something like 25, it is rejected. I tested this with Chilkat Socket using the following C++ code:
|