Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 56979
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T17:37:10+00:00 2026-05-10T17:37:10+00:00

After reading this discussion and this discussion about using CrashRpt to generate a crash

  • 0

After reading this discussion and this discussion about using CrashRpt to generate a crash dump and email it to the developers, I’ve been having a difficult time finding any instructions/tutorials for configuring the email settings used by the library to send the email.

When you call the install() function to initialize CrashRpt, you specify the email address you want the crash dump sent to, but how does the CrashPrt library know how to send the email to that address? Wouldn’t the library have to know the email client settings for each individual user?

When a fatal crash occurs in my code, the CrashRpt dialog box pops up and when I enter my email address and click the send button, it takes me to a ‘Save File’ dialog box where I can save the zipped package and the account specified in the Install() function never receives an email.

Thanks in advance for any and all help! I’m clearly missing something.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T17:37:10+00:00Added an answer on May 10, 2026 at 5:37 pm

    What CrashRpt does for emailing:

    The email system simply uses MAPI to send your email. Which would try to use your default mail client if you have one, and if it supports MAPI. Take a look at MailMsg.cpp for details.

    Personal experience:

    In my company’s usage of CrashRpt, we modified it a bit though to call a web service that we created which submits the crash report. So we gutted the emailing code completely from CrashRpt. And instead we have in our bug tracking system a section for crashes that were auto submitted when crashes happen.

    To find your problem:

    I would maybe try to debug the CrashRpt code to see why it’s giving you a save dialog. It should instead just open your default mail client. Maybe you have an older version of the library, or maybe the dialog resources are a little messed. Debugging the code will tell you this though.

    Most likely MailReport is being called but is failing.

    Set a breakpoint in the original CrashRpt code‘s CrashHandler.cpp at just after the DoModal:

     mainDlg.m_pUDFiles = &m_files;    if (IDOK == mainDlg.DoModal())    {       //Put breakpoint here <---------       if (m_sTo.IsEmpty() ||            !MailReport(rpt, sTempFileName, mainDlg.m_sEmail, mainDlg.m_sDescription))       {          SaveReport(rpt, sTempFileName);       }    } 

    Check to see why MailReport is not getting called. It’s either the dialog resource, or your m_sTo is not filled or you can step through MailMsg.cpp and see where MAPI is failing.

    Alternate solution:

    An easy fix, if you find above that MailReport is being called, but not succeeding, is to instead just do a ShellExecute and specify a mailto:

    You could even try to use the MAPI method, but if that fails to do a mailto:

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

After reading this post (recommended reading) about not using HTML5Shiv direct from source like
After reading this SO question and noting the consensus about just how evil Thread.Sleep()
After reading this , it sounds like a great idea to store files using
After reading this post regarding the use ECC to implement the hashing using aa
After reading this article: Using Interfaces in C++ I have decided to use the
After reading this SE Discussion a question pops up. Why jquery defined two methods
This could potentially be a duplicate but I after spending several hours reading about
After reading this discussion and this article , I still have this question. Let's
After reading this question. I was wondering is it possible using O(1) space can
After reading this question, I need to clear up some things. IQueryable<Customer> custs =

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.