Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 SSIS and Import/Export (2008)
 Hyper link in email messaege

Author  Topic 

varalakshmi
Yak Posting Veteran

98 Posts

Posted - 2011-11-11 : 02:41:22
Hi,
We have a requirement in which, we export data from database to a csv file and send a message to the user about the file destination path.

Is it possible to create a hyperlink to the destination path in email message so that the user can just click the link to open the folder and retreive the exported files?

Thanks in Advance.

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2011-11-11 : 03:40:41
why not send file as an attachment?
anyways you can use below method for sending hyperlinks

http://beyondrelational.com/blogs/sudeep/archive/2010/03/02/using-db-mail-in-ssis.aspx

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

varalakshmi
Yak Posting Veteran

98 Posts

Posted - 2011-11-11 : 05:00:18
The user cannot receive huge size emails. So we decided to send a link from which the user can access the file by clicking it.
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2011-11-11 : 05:06:46
ok. then try out method in link to generate html body and use hyperlink tag inside that (<a href=..)

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
   

- Advertisement -