Shouldn't MailTo be Plain Text?

delphi package - automated exception handling

Shouldn't MailTo be Plain Text?

Postby FredS » Thu Jun 08, 2017 7:46 pm

Doing some work on Bug submission and ran it through my tests when I see that MailTo opens up without the BugReport as its Body and a line telling me about an attachment that doesn't exist..
FredS
 
Posts: 79
Joined: Mon May 11, 2015 9:42 pm

Re: Shouldn't MailTo be Plain Text?

Postby madshi » Wed Jun 14, 2017 9:16 am

Looking through my code, it seems that when there's any attachment, and madExcept has to fall back to simple MailTo emailing, madExcept replaces the normal email body with the bug report. Are you saying that this doesn't work for you?
madshi
Site Admin
 
Posts: 9431
Joined: Sun Mar 21, 2004 5:25 pm

Re: Shouldn't MailTo be Plain Text?

Postby FredS » Wed Jun 14, 2017 5:15 pm

madshi wrote:Looking through my code, it seems that when there's any attachment, and madExcept has to fall back to simple MailTo emailing, madExcept replaces the normal email body with the bug report. Are you saying that this doesn't work for you?


Well, it kind of does if you have other mail options being tried first.
If however I ONLY select MAILTO then it doesn't, I was able to duplicate this in a new project so I am hoping you can as well.

Essentially the main posting is done inside an ExceptActionHandler so most of the time it never reaches MAILTO. But during testing since no other Mail options where checked I got the file attached msg showing.
FredS
 
Posts: 79
Joined: Mon May 11, 2015 9:42 pm

Re: Shouldn't MailTo be Plain Text?

Postby madshi » Thu Jun 15, 2017 7:04 am

Ok, but if you already know for sure that MailTo is going to be used because you didn't activate any other method, why don't you simply adjust the mail subject and body to suit your needs? You can do that here:

http://help.madshi.net/madExceptSettings10.htm
madshi
Site Admin
 
Posts: 9431
Joined: Sun Mar 21, 2004 5:25 pm

Re: Shouldn't MailTo be Plain Text?

Postby FredS » Thu Jun 15, 2017 4:02 pm

madshi wrote:Ok, but if you already know for sure that MailTo is going to be used because you didn't activate any other method, why don't you simply adjust the mail subject and body to suit your needs? You can do that here:
http://help.madshi.net/madExceptSettings10.htm


I've done that in code, but one doesn't find out the reason this happens until it happens.
So all works and is tested, then you uncheck MAPI because of occasional issues with it and Elevated Apps.
Send out your app and bingo, a fix for v5 would seem appropriate.
FredS
 
Posts: 79
Joined: Mon May 11, 2015 9:42 pm


Return to madExcept

Who is online

Users browsing this forum: No registered users and 1 guest

cron