form of mail sent by MadExcept

contains all delphi packages mentioned below

form of mail sent by MadExcept

Postby garymccartney » Tue Apr 15, 2014 9:35 pm

I am being forced to switch my email program to Outlook. The program does not have the capability of searching attachments during rules processing. I use rules in my current email program to move emails to different folders. This cuts down the number of emails I have to search through looking for specific issues. Is there a way in MadExcept to not send the bug report as an attachment? I am currently using MadCollection 3.0n. I can upgrade if the capability exists in a later version. Thank you in advance for your help.
garymccartney
 
Posts: 10
Joined: Mon Feb 24, 2014 3:37 pm

Re: form of mail sent by MadExcept

Postby madshi » Wed Apr 16, 2014 6:57 am

You can send the report in the email body by changing the email body text to e.g. "%bugReport%". However, IMHO that makes it harder to read/interpret the bug reports, because the emails are usually not shown with a monospace font. I'd suggest to extract key information which you want to set rules for and put them into the mail body, and leave the full bug report as an attachment. This should give you the best of both worlds. You can do this by registering a handler with madExcept.RegisterExceptActionHandler(stDontSync). In your handler look for "eaSendBugReport". You can then access to bug report properties by accessing "exceptIntf.BugReportHeader" and "exceptIntf.BugReportSections" and you can modify the email body by writing to "exceptIntf.MailBody". More details see documentation.
madshi
Site Admin
 
Posts: 9265
Joined: Sun Mar 21, 2004 5:25 pm


Return to madCollection

Who is online

Users browsing this forum: No registered users and 5 guests

cron