Hi,
I am trying to open a new outlook window with bcc field filled with addresses on link butotn click server side.
I checked this link Different ways to create mailto: link - ASP.Net and tried the follwing but it doesn't work for me. guide me if I am wrong with something. Thanks
protected void lnkEmailParticipants_Click(object sender, EventArgs e)
{
string regUserEmail = dataLoader_VSPNet.getEmailByEmpId(participant.empID);
if (regUserEmail != string.Empty)
{
ClientScript.RegisterStartupScript(this.GetType(), "mailto",
"<script type = 'text/javascript'>parent.location='mailto:" + regUserEmail +
"'</script>");
}