Home Devices
New Blog Posts: Merging Reports - Part 1 and Part 2

Email Problem

edited November 2008 in Devices
With Vista, RB11 and Delph2008, I have intermittently encountered the
following problem. RegisterClass(TppSMTPMapi) and PreviewInEmailClient are
active and event SMTP.OnEmailError. The first attempt or two for Sendmail
will return "Undefined Falure". (Note: your code has a typo error; the "i"
is missing in failure) Afterwards it will suceed. As a work around I have
placed SendMail in a small conditional loop breaking early when no
"undefined" error occurs. Still one problem remains. The email client
screen is created but minimized. I have tried placing a SendToBack before
SendMail but no effect. If I use the RB11 email dialog form then none of
this occurs. I should also add that we are using Window OneCare
firewall/virus protection, but there is no prompt to allow or not. Any
suggestions?

Thanks

Barry

Comments

This discussion has been closed.