Showing errors occurred during sending a mail
Posted: Tue Jan 17, 2017 3:09 pm
Hi,
I'm using AutoSendBugReport to send a mail from a customers PC. Sending the mail did not work. It does work when I'm using a domain name of the customer.
That does not work:
That does work:
I assume sending mails from within the customers network to the outside world is not allowed. Now I try to find out with the customers IT department how to fix that and they ask me, what exactly is the error message our application gets.
Where (global variable in madExcept for example) can I find out what went wrong? The only thing I can log is that something went wrong.
TIA, Markus
I'm using AutoSendBugReport to send a mail from a customers PC. Sending the mail did not work. It does work when I'm using a domain name of the customer.
That does not work:
Code: Select all
MESettings.MailFrom := 'info@my_company.com';
Code: Select all
MESettings.MailFrom := 'info@customer_company.com';
Where (global variable in madExcept for example) can I find out what went wrong? The only thing I can log is that something went wrong.
Code: Select all
if AutoSendBugReport(AMMSService.DisplayName, Screenshot, MESettings, True) <> Yes then begin
TMSLogger.Error('Error sending mail!');
end;