SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Create dynamic email from within report


Create dynamic email from within report

Author
Message
joshd 1807
joshd 1807
SSC-Enthusiastic
SSC-Enthusiastic (103 reputation)SSC-Enthusiastic (103 reputation)SSC-Enthusiastic (103 reputation)SSC-Enthusiastic (103 reputation)SSC-Enthusiastic (103 reputation)SSC-Enthusiastic (103 reputation)SSC-Enthusiastic (103 reputation)SSC-Enthusiastic (103 reputation)

Group: General Forum Members
Points: 103 Visits: 378
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.
davoscollective
davoscollective
SSC Eights!
SSC Eights! (919 reputation)SSC Eights! (919 reputation)SSC Eights! (919 reputation)SSC Eights! (919 reputation)SSC Eights! (919 reputation)SSC Eights! (919 reputation)SSC Eights! (919 reputation)SSC Eights! (919 reputation)

Group: General Forum Members
Points: 919 Visits: 1004
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!

joshd 1807
joshd 1807
SSC-Enthusiastic
SSC-Enthusiastic (103 reputation)SSC-Enthusiastic (103 reputation)SSC-Enthusiastic (103 reputation)SSC-Enthusiastic (103 reputation)SSC-Enthusiastic (103 reputation)SSC-Enthusiastic (103 reputation)SSC-Enthusiastic (103 reputation)SSC-Enthusiastic (103 reputation)

Group: General Forum Members
Points: 103 Visits: 378
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.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search