javascript - Calling Mailto inside body of another mailto -



javascript - Calling Mailto inside body of another mailto -

is possible give mailto within body of mailto?

i have vb.net code through opening outlook window.

i have below code,

smsg = user.redirect("mailto:" + legrev + "& cc=" + cc + "&subject= " + outersubject + "&body=" + body) scriptmanager.registerstartupscript(me.page, me.gettype(), "showalert", smsg, true) public function redirect(byval pagename string) string dim sb new stringbuilder() sb.append("window.location.href='" + pagename + "'; ") homecoming sb.tostring() end function

in body string have

mailto:" + innerto + "&cc=" + innercc + "&subject= " + innersubject

problem getting mail service opened subject set 'innersubject' instead of 'outersubject'

i think outersubject getting replaced innersubject. please help asap.

the body string needs escaped function uri.escapedatastring. uri should end having 1 ? in it, , none of & characters body should visible. example:

mailto:john.doe@example.com?subject=test+message&body=mailto%3ajane.doe%40example.com%3fcc%3dbob%40bob.com%26subject%3dreply%2bto%2byou

javascript c# vb.net

Comments

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -