Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Create dynamic email from within report Expand / Collapse
Author
Message
Posted Monday, February 18, 2013 4:05 PM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Wednesday, November 26, 2014 12:27 PM
Points: 59, Visits: 324
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.
Post #1421366
Posted Tuesday, March 5, 2013 5:59 PM


SSC-Addicted

SSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-Addicted

Group: General Forum Members
Last Login: 2 days ago @ 4:24 AM
Points: 495, Visits: 895
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!
Post #1427100
Posted Friday, March 8, 2013 7:26 AM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Wednesday, November 26, 2014 12:27 PM
Points: 59, Visits: 324
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.

Post #1428575
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse