rdmenezes / crashrpt

Automatically exported from code.google.com/p/crashrpt
0 stars 0 forks source link

CrashSender and DNS access #51

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Set proxy and assign to pCrash_info->pszSmtpProxy (in my case 13.0.0.35:2525)
2. Set only SMTP as report method pCrash_info->uPriorities[CR_SMTP] = 2;
3. Be sure to disconnect internet access, no DNS access via domain server
4. Crash app

What is the expected output? What do you see instead?
CrashSender cannot send error report, on progress window:

"Query MX record of domain maildomain.com"
DNS query failed with code 460
Error querying DSN record.

What version of the product are you using? On what operating system?
1.2.6 on Vista 32 

Please provide any additional information below.

I think that if you set a proxy SMTP server you have to avoid any internet 
access and let proxy do all the jobs...

In my case I have many clients working on a intarnet, they can send only 
automatic mail via SMTP (invoice and so on) and they can only access less that 
50 url defined on ISA Server. They do not have access to DNS or mails servers

TIA

Original issue reported on code.google.com by zacca...@zaksoft.com on 31 Aug 2010 at 5:06

GoogleCodeExporter commented 9 years ago
Also in ErrorReportSender.Cpp I think that on line 1437 before

  int res = m_SmtpClient.SendEmailAssync(&m_EmailMsg, &m_Assync); 

something like 
  if ( !g_CrashInfo.m_sSmtpProxyServer.IsEmpty())
    m_SmtpClient.SetSmtpProxy( g_CrashInfo.m_sSmtpProxyServer, g_CrashInfo.m_nSmtpPort);

need to be inserted to pass proxy server and port to CSmtpClient

Original comment by zacca...@zaksoft.com on 31 Aug 2010 at 5:53

GoogleCodeExporter commented 9 years ago

Original comment by zexspect...@gmail.com on 1 Sep 2010 at 4:07

GoogleCodeExporter commented 9 years ago
Fixed in v.1.2.7

Original comment by zexspect...@gmail.com on 10 Oct 2010 at 2:36