View Full Version : Email Dialog
I have 5.06 and does anyone know how a customer can enter their email
server information so that the bug reports will automatically email
through their server.
Is there a dialog available that can capture the customers email server
information? If not, does Eureka Log provide an object or utility so
that the customer can do that?
Thanks,
Tom
admin
23-Jan-2006, 09:36 AM
Hi,
Tom wrote:
> I have 5.06 and does anyone know how a customer can enter their email
> server information so that the bug reports will automatically email
> through their server.
>
> Is there a dialog available that can capture the customers email server
> information? If not, does Eureka Log provide an object or utility so
> that the customer can do that?
>
> Thanks,
>
> Tom
You should use an OnExceptionNotify event.
In this event show your custom modal Form (example: a form named
EmailForm) asking to fill the password, user name and SMTP server fields.
After showed this modal form fill set the EurekaLog fields (as in the
following example):
procedure OnExceptionNotify(
EurekaExceptionRecord: TEurekaExceptionRecord; var Handled: Boolean);
begin
if (EmailForm.ShowModal = mrOk) then
with EurekaExceptionRecord.CurrentModuleOptions do
begin
SMTPFrom := EmailForm.From.Text;
SMTPHost := EmailForm.Host.Text;
SMTPPort := StrToInt(EmailForm.Port.Text);
SMTPUserID := EmailForm.UserID.Text;
SMTPPassword := EmailForm.Password.Text;
end;
end;
--
Best regards...
Fabio Dell'Aria.
----------------
http://www.eurekalog.com
Catch every BUG, every time!
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.