How to use gmail account for ssrs email subscription

前端 未结 3 930
闹比i
闹比i 2021-02-06 15:59

I have a report using SSRS 2008 R2, I want to subscribe to this report using the \"email\" option. I have configured the settings in the reporting services mana

3条回答
  •  长发绾君心
    2021-02-06 16:29

    Having struggled with this for the past few hours I thought it might be valuable to share another method for anyone else still unable to configure an SSRS instance to send subscription emails via gmail using their smtp relay service.

    For this example, my company uses Gmail Servers to host our own domain and I assume that you have access to the Admin Console on Google Apps.

    Step 1 - Configure Gmail

    • Log into Google Apps with an Administrator Account
    • Go into the admin console
    • Select Apps > Gmail > Advanced Settings
    • Find SMTP Relay Service
    • Add New
      1. Allowed Senders - Set to "Only Addresses In My Domains"
      1. Authentication - Set to "Only Accept Mail From Specified IP"
      1. Add the Public IP Range of the Server SSRS is running on
      1. Leave TLS Encryption Unchecked
      1. Leave SMTP Authentication Unchecked
      1. Save

    You should then have settings that look like this:

    • Allowed senders: Only addresses in my domains
    • Only accept mail from the specified IP addresses: Yes
    • Allowed IP addresses: (Your Description)
    • Require SMTP Authentication: No
    • Require TLS encryption: No

    Step 2 - Configure SSRS

    • Go to SSRS Configuration Manager > Email Settings
    • Enter Sender address as email@yourgmaildomain.co.uk
    • Use SMTP Server
    • SMTP Server = "smtp-relay.gmail.com"

    Following these steps will allow you to send emails using SSRS subscriptions without needing to set up your own relay server. Hope this helps some other poor sole from spending hours trying to figure it out!

    REF: https://support.google.com/a/answer/2956491?vid=1-635782669150538047-3380580329

提交回复
热议问题