View Full Version : Is there a way include only specific sections of the bug report in to the email body?
Steven Brenner
07-Apr-2011, 12:00 AM
I need the message file included in the bug report bundle but I would
like to be able to have certain sections of the message in the email
body.
Since I also check the tech support email on my phone it would be
really helpful to be able to have certain sections of the report (for example Application, Exception and Call Stack) while still having a copy of the full report included in the bug report file.
If that is not possible is there a way to have the message both in the
body of the email and as part of the bug report file bundle?
I have tried manually adding the message file but the 'Append Logs in message text (no send file) either blocks it or deletes it from the report bundle before its sent.
Thanks.
Alex
07-Apr-2011, 06:50 AM
Hi,
You can use ExceptionNotify event ( http://www.eurekalog.com/docs/exceptionnotifyhowto.html ) to manually set ExcRecord.CurrentModuleOptions.EMailMessage property for each exception.
Steven Brenner
07-Apr-2011, 08:15 AM
Steven Brenner wrote:
I have tried manually adding the message file but the 'Append Logs in message text (no send file) either blocks it or deletes it from the report bundle before its sent.
Thanks.
Alex wrote:
Hi,
You can use ExceptionNotify event ( http://www.eurekalog.com/docs/exceptionnotifyhowto.html ) to manually set ExcRecord.CurrentModuleOptions.EMailMessage property for each exception.
Alex
Thank you for the quick response.
I don't think, however, that your answer is quite what I was looking
for. Since I initially post my inquiry I found a way to get pretty much
get what I need (with one exception noted below).
------------
Previously (and still) I have been using the EurekaLog1AttachedFilesRequest() to get the other files (program files,
logs, etc.) that I need for analysis.
Since my previous post I found that if I use the option: 'Append Logs
in message text (no send file)" I get the ELF error file which I wanted.
And if I add the line:
-
EurekaExceptionRecord.CurrentModuleOptions.EMailMe ssage :=
EurekaExceptionRecord.LogText;
-
that I get now get the error text in the body of the email.
The only problem is that I am not getting the user comments that
customers are inputting into the EurekaLog Crash Dialog.
What strange is that I went back and looked at the recent emailed
bugreports and they are missing user comments (even my test messages) -
I just hadn't noticed that they were coming through.
This probably corresponses to when I migrated over to my new computer.
Its probably not a bug, or I'm sure you would have heard complaints, so
I probably accidentally changed something - but I don't see what.
What I get is blank lines at the top of the report.
How can I add the user comment back into the email body?
Thanks again,
Steven
Steven Brenner
07-Apr-2011, 08:21 AM
Steven Brenner wrote:
The only problem is that I am not getting the user comments that customers are inputting into the EurekaLog Crash Dialog.
Just a clarification - this was happening before I tried modifying the
email message body.
And I'm actually using:
EurekaExceptionRecord.CurrentModuleOptions.EMailMe ssage := EurekaExceptionRecord.CurrentModuleOptions.EMailMe ssage + #13#11 + EurekaExceptionRecord.LogText;
not:
EurekaExceptionRecord.CurrentModuleOptions.EMailMe ssage :=
EurekaExceptionRecord.LogText;
Alex
18-Apr-2011, 08:26 PM
Hi,
I'm sorry for very long delay!
But can you send us a demo to reproduce this behaviour?
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.