Create dynamic email from within report

  • Using SQL Server 2008 Standard.

    I have a shipment tracking report that dynamically generates a URL based on the shipping carrier.

    We do not want to automatically send out an email to the end user yet, but would be nice to know how to do.

    I was wondering...is there a way in SSRS to have a clickable link that will populate an email that includes a specific title and body contents?

    I don't want ot automatically send this email because our team would like to be able to put in a personalized message first before it sends.

    Basically I want to click a link and see this info automatically populated:

    From: <current logged in user>

    To:<customer>

    Subject: <Carrier> Shipping Information

    Body:

    <Customer Name>

    Click here for your shipment information <trackingnumber>

    Just wanted to make sure this is possible and see how hard it might be to implement.

  • Yes I think you can.

    In the text box properties, there is an 'Action' section.

    You can set this to Go to URL

    In there you can use a mailto:

    e.g.

    mailto:name@email.com

    Mailto links can get quite fancy including various "headers" such as "body"

    e.g.

    mailto:recipient@example.com?subject=Ha!&X-Mailer=Baluba&body=Ha!%0D%0ABla!

  • This is absolute gold!

    Thanks for helping out. I'm still 'New Jack' when it comes to SQL Server. I'm learning something new every day. Didn't realize SSRS could do this.

Viewing 3 posts - 1 through 2 (of 2 total)

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