emailing from the preview screen
RB 10.08 Delphi 7
I had this working (email button in previewer) ok using Outlook Express.
Loaded MS Office w/ Outlook, and it quit working. I un-installed Outlook
but that didn't help. I can mail manually using Outlook Express now so I
know Outlook Express is configured properly; however, using the icon on the
previewer, the hourglass blinks briefly and that's all.
For good measure, I added ppSMTPOutlook, ppPDFDevice to my uses statement
but that made no difference. Its like it can't find the default mail
client.
Any ideas?
Bill Skelton
Landmark Data Systems, Inc.
I had this working (email button in previewer) ok using Outlook Express.
Loaded MS Office w/ Outlook, and it quit working. I un-installed Outlook
but that didn't help. I can mail manually using Outlook Express now so I
know Outlook Express is configured properly; however, using the icon on the
previewer, the hourglass blinks briefly and that's all.
For good measure, I added ppSMTPOutlook, ppPDFDevice to my uses statement
but that made no difference. Its like it can't find the default mail
client.
Any ideas?
Bill Skelton
Landmark Data Systems, Inc.
This discussion has been closed.
Comments
Are you using Windows Vista? If so, you need to be sure Outlook is closed
before running the MAPI plugin. There is a Vista issue (that has yet to be
resolved by Microsoft) that causes an undefined error when trying to open an
Outlook message via MAPI when Outlook is already open.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Outlook is not loaded... its Outlook Express on a 2003 R2 Standard Edition
Server accessed through a terminal server session.
Outlook Express works fine, it just won't pull-up using RB email icon in
preview.
Bill
Check whether Outlook Express is configured as the default email client for
the machine
Remove ppSMTPOutlook. You want to use ppSMTPMapi. The Mapi plug-in supports
any MAPI compliant email client - which includes OutlookExpress and Outlook.
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Any other suggestions, please?
Bill
We have not seen this behavior before. Have you tried using the email
example in the main demo application? (Demo 110) Take a look at the
following article on displaying the MAPI email errors returned by the client
and let me know what error you are getting.
http://www.digital-metaphors.com/rbWiki/Output/Email/How_To...Show_Email_Errors
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I assume that when clicking on the email icon, the program should create the
PDF file, attached it to the mail client and display the email dialog. None
of this happens. The hourglass flickers and then nothing.
I can print to a PDF file on the desktop and then right-click on it and send
it to an email receipient fine.
Is there a PAS file that I can follow the execution of the program after
clicking on the email icon?
Thanks,
Bill
Once the email button is clicked inside the preview window, a TppEmail
object is created, a report is added and the Send routine is called. The
relevant files are ppEmail.pas and ppSMTPMAPI.pas.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com