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

[XE8 UPD1 + RB16.02] From preview don't work "Send Email" in Remote Desktop

edited July 2015 in General
Hi

I have many ( all ) my customers , using RB 2008R2 like server, and Win
7 / 8 like client.

From preview of RB don't work "Send report by Email" under Remote Desktop.

i have try with standard and admin user.

I have the problem using Microsoft Office 2012 and thunderbird, like
default email client.

When i press on top button "Email" notthing appear.

[XE8 UPD1 + RB16.02 B144]


Mauro Botta

Comments

  • edited July 2015
    Hi Mauro,

    Outlook 2013 no longer supports the Simple MAPI library included with
    Delphi (and the default in RB). You will need to use the Extended MAPI
    plugin instead.

    To do so, simply add ppSMTPExtendedMAPI to your uses clause and re-run
    your application.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited July 2015

    Hi

    I have added this unit and work all fine under DeskTop Remote ( Office
    2013 ).

    but in local mode ( Office 2013 ) don't work more, now.


    How i can can do work local AND remote version ?

    Where is the RB source of email click button ( preview rb ) ?



    Should i write a source like these:





    Nico Cizik (Digital Metaphors) ha scritto:
  • edited July 2015

    Hi

    I have added this unit and work all fine under DeskTop Remote ( Office
    2013 ).

    but in local mode ( Office 2013 ) don't work more, now.


    How i can can do work local AND remote version together?

    Where is the RB source of email click button ( preview rb )?



    Should i write a source like these ?

    if bTerminalServer then
    .........TppSMTPPlugIn.RegisterClass(TppSMTPIndy-a.....)
    else
    .........TppSMTPPlugIn.RegisterClass(TppSMTPIndy-b.....)
  • edited July 2015
    Hi Mauro,

    I just tested the ExtendedMAPI plugin with Office 2013 on my machine
    (local installation) and it functions correctly.

    Please give more information about how it fails on your machine.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited July 2015
    >> Please give more information about how it fails on your machine.

    When press "SEND EMAIL" from RB Preview:



    in local mode on 3 different pc,

    procedure TppExtendedMapiSession.RaiseErrorMapiInitialize(aHResult:
    HResult);

    Raised : 'MAPI initialization failed.' Error.




    if i remove "ppSMTPExtendedMAPI" unit, work fine all.
  • edited July 2015
    Please provide a simple example I can run here that demonstrates this
    issue. Send the example in .zip format to support@digital-metaphors.com.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited July 2015
    I have add

    TppSMTPPlugIn.RegisterClass(TppSMTPMapi);

    or

    TppSMTPPlugIn.RegisterClass(TppSMTPMapi);

    before send email.


    for 2 case. now ALL work fine.
  • edited July 2015
    or...


    TppSMTPPlugIn.RegisterClass(TppSMTPExtendedMapi);
This discussion has been closed.