Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Help in launching outlook

 
Logged in as: Guest
arrSession:exec spGetSession 2,4,29318
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> ASP.NET >> Help in launching outlook
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Help in launching outlook - 12/26/2005 4:11:57 PM   
  sriIndia

 

Posts: 1
Score: 0
Joined: 12/25/2005
Status: offline
Hi,

I am developing a web application in C# .I am using VS2005 and SQL 2005 for thif.I am facing an issue in launching the outlook client.I have a results page which has the various topics and situations based on the user selections in the previous page.So this page is dynamic. Also on this page we have a create e-mail button ,which when clicked must launch the outlook client with the body same as the body of the previous mail page. I want the colours and the images of the page to come in the body of the outlook.

I have the string which generates the mail page.But when I give the same string as the body for the outlook using

mailto:"abc@xyz.com?subject=xxxxx&body=" document.formname.hiddenfield.value I get the body as the topics I require alng with the html tags.
But I want the tage to be rendered as html so tat the user can see all the images and the colors.Here the hiddenfield has the string which generated the previous page for me.So ppl please help me out in this regard .I am totlly stuck up here.

Thanks
Srini

 
 
Post #: 1
 
 RE: Help in launching outlook - 5/11/2008 3:15:41 PM   
  TNO


Posts: 975
Score: 10
Joined: 12/18/2004
From: thenewobjective.com
Status: offline
There is no guarantee that an email client will accept html input (its a user preference). but generally speaking, escaped html seems to work well enough:

<a href='mailto:name@addr.com?subject=test&body=<b>mary%20had</b>%20a%20little%20lamb'>Foo</a>

gives:

mary had a little lamb

_____________________________

Consolidated Script Component: Now in Testing stage!

A universe of complexity...

(in reply to sriIndia)
 
 
Post #: 2
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> ASP.NET >> Help in launching outlook Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts