mltb210 Posted June 15, 2006 Share Posted June 15, 2006 i found the complex mailto link. i would like to go one step further and INCLUDE a LINK within the BODY. is that possible? thank you. Link to comment Share on other sites More sharing options...
Skemcin Posted June 15, 2006 Share Posted June 15, 2006 if you add the url string &message=xxxxxxxx you can make what ever you want in there. The big BUT is that it needs to be URL encoded.So, you might say message=Thank you for coming.you would have to code it like this message=Thank%20you%20for%20coming.If you want HTML in there, the you will need to escape all the < and > symbols - theoritically, it should work.But its much easier to use a server side scripting language to send HTML enhanced messages - especially since they can be multi-part. Link to comment Share on other sites More sharing options...
mltb210 Posted June 15, 2006 Author Share Posted June 15, 2006 i understand that part. but what if i wanted the message to also include a link? for example:Thank you for coming. Click here to google.what would the code be in the mailto string? Link to comment Share on other sites More sharing options...
scott100 Posted June 15, 2006 Share Posted June 15, 2006 i would like to go one step further and INCLUDE a LINK within the BODY. is that possible? thank you.Yes it's possible, this will insert a link into the body of an email created with an anchor<a href="mailto:scott@w3schools.com?subject=W3schools Is Cool&body=Hi, I found this website and thought you might like it http://www.w3schools.com">tell a friend</a> Link to comment Share on other sites More sharing options...
mltb210 Posted June 15, 2006 Author Share Posted June 15, 2006 that code INCLUDES the url in the message. however, it doesn't make it a link. IS IT POSSIBLE TO MAKE A LINK WITHIN THE MESSAGE?for example, the message would look like this:Hi, I found this website and thought you might like it.thanks for your help. Link to comment Share on other sites More sharing options...
Jack McKalling Posted June 15, 2006 Share Posted June 15, 2006 This is dependant on the message retriever, if it would view it as an html part, html page or document, or as plain text. Possibly different between mail services Link to comment Share on other sites More sharing options...
mltb210 Posted June 15, 2006 Author Share Posted June 15, 2006 This is dependant on the message retriever, if it would view it as an html part, html page or document, or as plain text. Possibly different between mail services <{POST_SNAPBACK}> you're right! thank you all! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now