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

TppSMTPOutlook when PreviewEmail is False

Hi,

Is there any way, other than the user disabling, of sending an email without Outlook displaying the dialog "a program is trying to send an email message on your behalf"?

Thanks,

Ken

Comments

  • edited October 2021
    Hi Ken,

    Try using the Extended MAPI plugin. This should allow sending emails "silently".
    Enable it by adding ppSMTPExtendedMAPI to your uses clause instead of ppSMTPOutlook.

    It also may be possible to adjust your Outlook settings to ignore the warning. See the article below.
    https://docs.microsoft.com/en-us/outlook/troubleshoot/security/a-program-is-trying-to-send-an-email-message-on-your-behalf


    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • Hi Nico,

    I was unable to send an email via Outlook 2019 using extended MAPI. It just failed. It didn't get as far as the prompt. I should mention that I am using this without a report.

    Regards,

    Ken
  • Hi Ken,

    In a simple test, I can send email without previewing using TppSMTPOutlook and TppSMTExtendedMAPI. I do not receive a warning dialog.

    1. TppSMTPOutlook

    I Googled and found some info

    From Outlook select File | Options | Trust Center
    Press the Trust Center Settings... button
    Select Programmatic Access. There are 3 options from which you can select.

    I have the first one selected, which only warns if AntiVirus is out of date. Below the options there is a status that informs me my AntiVirus is up to date. I don't receive warnings when sending email from RB.

    2. TppSMTExtendedMAPI

    Windows needs to be configured allow access to email and Windows needs to be configured with Outlook as the default email client, MAPI client. You can Google about this and we have this rbWiki article.

    http://rbwiki.digital-metaphors.com/output/email/troubleshooting-outlook-365/


    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
Sign In or Register to comment.