Unable To Send Mail to other Domain in SSRS Email Data Driven Subscription

  • Hi,

    I am Using SSRS 2008,

    I had a report using Email Delivery Data Driven Subsription.

    I had Confuguration as follows,

    SMTP MailServer :- mail.XYZ.com

    From :-abc@XYZ.com

    HostName :- XYZ.com

    I am able to Send the Email to same Domain.

    But, I want to send the Mail to other domain.

    I had also tried,by writting multiple HostName but it is not working.

    Please help me.

    I tried Several ways by changing Config Setting,but not getting solution.

    If am able to do this then I will be very helpful to him.

    I am also Sending the Script for Confugaration File, for reference for better understanding of my need.

    <Configuration>

    <RSEmailDPConfiguration>

    <SMTPServer>mail.XYZ.com</SMTPServer>

    <SMTPServerPort>2525</SMTPServerPort>

    <SMTPAccountName>

    </SMTPAccountName>

    <SMTPConnectionTimeout>

    </SMTPConnectionTimeout>

    <SMTPServerPickupDirectory>

    </SMTPServerPickupDirectory>

    <SMTPUseSSL>

    </SMTPUseSSL>

    <SendUsing>2</SendUsing>

    <SMTPAuthenticate>2</SMTPAuthenticate>

    <From>abc@XYZ.com</From>

    <EmbeddedRenderFormats>

    <RenderingExtension>MHTML</RenderingExtension>

    </EmbeddedRenderFormats>

    <PrivilegedUserRenderFormats>

    </PrivilegedUserRenderFormats>

    <ExcludedRenderFormats>

    <RenderingExtension>HTMLOWC</RenderingExtension>

    <RenderingExtension>NULL</RenderingExtension>

    <RenderingExtension>RGDI</RenderingExtension>

    </ExcludedRenderFormats>

    <SendEmailToUserAlias>True</SendEmailToUserAlias>

    <DefaultHostName>

    </DefaultHostName>

    <PermittedHosts>

    <HostName>XYZ.com</HostName>

    </PermittedHosts>

    </RSEmailDPConfiguration>

    </Configuration>

    </Extension>

    <Extension Name="Report Server DocumentLibrary" Type="Microsoft.ReportingServices.SharePoint.SharePointDeliveryExtension.DocumentLibraryProvider,ReportingServicesSharePointDeliveryExtension">

    <MaxRetries>3</MaxRetries>

    <SecondsBeforeRetry>900</SecondsBeforeRetry>

    <Configuration>

    <DocumentLibraryConfiguration>

    <ExcludedRenderFormats>

    <RenderingExtension>HTMLOWC</RenderingExtension>

    <RenderingExtension>NULL</RenderingExtension>

    <RenderingExtension>RGDI</RenderingExtension>

    </ExcludedRenderFormats>

    </DocumentLibraryConfiguration>

    </Configuration>

    Thanks in Advance!

  • What error, if any, are you getting?

    You should also check with the admins of the other domain that the account you're using has permission to send email to them.

  • Hi,

    I am not able to trace the error.

    But,Sending mail to Same domain is working and to other is not.

    Why ?

    Can any one try a sample project like this,and tell me what is the actual Problem.

    Please........!

  • avdhut.k (7/25/2012)


    Hi,

    I am not able to trace the error.

    But,Sending mail to Same domain is working and to other is not.

    Why ?

    Can any one try a sample project like this,and tell me what is the actual Problem.

    Please........!

    You need to talk to exchange administrator. You need the permission to send the mail to other domain.


    Sujeet Singh

  • Hi,

    Please check with exchange admin that your host is allowed to relay.

    Regards

  • rene-500237 (7/25/2012)


    Hi,

    Please check with exchange admin that your host is allowed to relay.

    Regards

    I was going to say this as well, your report host may not have relay permissions outside the domain.

  • hi,

    but How the same SMTP Server send email to other domain,when mail is sent through SQL Sever Using SP_SendMail Utility.

    And Also How to check the relay Permission to Host.

    Kindly Help.

  • You should work with your mail or Exchange admin

Viewing 8 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic. Login to reply