Hello,
we use madExcept 4.0.15.
We would like to send a Mail AND enter an issue in Mantis.
We just can enter an issue or can send an Mail, but not both.
A look into the sources proofes this expirience.
So the question is, anybody has an idea how to achieve this?
Greetings
Klaus
Upload to Mantis and send Mail
Re: Upload to Mantis and send Mail
Hi Klaus,
and sorry for the lack of reply. Somehow I missed your thread (forum notification not working?).
Anyway. You're right, by default you can only do either this or that, but not both. However, it shouldn't be too hard to do whatever you want, by writing some custom code. My suggestion would be this:
1) Setup everything for Mantis reporting.
2) Call "RegisterExceptActionHandler" with "stDontSync", then wait for the "eaSendBugReport2" event. When that event is fired, manually call one of the email functions exported by madExcept, e.g. SendSmtpMail or SendMapiMail.
This way madExcept will do the Mantis stuff for you, while your code will add email sending.
Hope this works for you?
and sorry for the lack of reply. Somehow I missed your thread (forum notification not working?).
Anyway. You're right, by default you can only do either this or that, but not both. However, it shouldn't be too hard to do whatever you want, by writing some custom code. My suggestion would be this:
1) Setup everything for Mantis reporting.
2) Call "RegisterExceptActionHandler" with "stDontSync", then wait for the "eaSendBugReport2" event. When that event is fired, manually call one of the email functions exported by madExcept, e.g. SendSmtpMail or SendMapiMail.
This way madExcept will do the Mantis stuff for you, while your code will add email sending.
Hope this works for you?