E-mail Subscription'ları için Konfigürasyon Ayarları
Reporting Services ile geliştirdiğiniz raporlarınızda e-mail
subscription'ları oluşturabilir ve bunların belli bir takvime göre çalıştırılmasını
sağlayabilirsiniz. Dilerseniz bu oluşturduğunuz subscription'lar ile raporlarınızın
otomatik olarak ilgili yerlere e-mail yolu ile iletilmesini de sağlayabilirsiniz.
E-mail ile ilgili olarak yapacaklarınızdan önce Report Server üzerinde bazı
konfigürasyon ayarlarını gerçekleştirmek zorundasınız.
İlk önce report server üzerinde RSReportServer.config konfigürasyon
dosyasının bulunduğu dizine gidin.
Eğer varsayılan ayarlar ile Reporting Services uygulamasını kurmuşsanız
bahsedilen dizin aşağıdaki dizindir.
"c:\Program Files\Microsoft SQL Server\MSSQL\Reporting Services\ReportServer"
RSReportServer.config dosyasını güncellemek üzere açın.
Report Server Email isimli Extension tag'ını bulun. Ve aşağıdaki ayarlarla uyuşacak şekilde config dosyanızı güncelleyin.
<Extension Name="Report Server Email" Type="Microsoft.ReportingServices.EmailDeliveryProvider.EmailProvider,ReportingServicesEmailDeliveryProvider">
<MaxRetries>3</MaxRetries>
<SecondsBeforeRetry>900</SecondsBeforeRetry>
<Configuration>
<RSEmailDPConfiguration>
<SMTPServer>SMTPServerAdı</SMTPServer>
<SMTPServerPort>25</SMTPServerPort>
<From>raporkullanıcısı@raporsunucusudomainadı.com</From>
SMTPServerAdı değişkenini e-mail'lerinizin gönderilmesini istediğiniz mail
sunucunun adını veya IP numarasını yazınız. Aynı şekilde
raporsunucusudomainadı.com değişkenini rapor sunucunuzun email atarken
kullanacağı kullanıcı profilinin mail hesabını giriniz.. SMTP için varsayılan
port numarası 25'dir.
Bu değişiklikleri yaparak konfigürasyon dosyasını kaydettiğinizde
subscription tanımlarınızı yaparken email de seçenekleriniz arasında
gelecektir.
Configuration Settings for the Email Subscriptions
On the report server, go to the following folder for the configuration file "RSReportServer.config"
"c:\Program Files\Microsoft SQL Server\MSSQL\Reporting Services\ReportServer"
Open RSReportServer.config file for editing.
Find the extension section for the "Report Server Email"
<Extension Name="Report Server Email" Type="Microsoft.ReportingServices.EmailDeliveryProvider.EmailProvider,ReportingServicesEmailDeliveryProvider">
<MaxRetries>3</MaxRetries>
<SecondsBeforeRetry>900</SecondsBeforeRetry>
<Configuration>
<RSEmailDPConfiguration>
<SMTPServer>SMTPServerName</SMTPServer>
<SMTPServerPort>25</SMTPServerPort>
<From>reportemailuser@reportserverdomain.com</From>
Replace SMTPServerName with a mail server. And replace reportserver.
reportemailuser@reportserverdomain.com with a correct user account. Default port number for smtp server is 25.
After the configuration file is saved, subscription can be delivered by email also.
