Adding Subject and Body to mailto function

E

Enigma

Is ti possible to add a subject and a body to the mailto: command?

I thought this was it but I am appearently missing something?

mailto:?subject=You%20have%20to%20check%20this%20out!?body=http%3a%2f%2fwww.magicbyenigma.com

Enigma
 
J

Jim Buyens

-----Original Message-----
Is ti possible to add a subject and a body to the
mailto: command?

I thought this was it but I am appearently missing
something?

mailto:?subject=You%20have%20to%20check%20this%20out!? body=http%3a%2f%2fwww.magicbyenigma.com

Enigma

The delimiters need to be ampersands, not questions
marks. So:

mailto:[email protected]&subject=Mystery&body=whatever

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*------------------------------------------------------*
|\----------------------------------------------------/|
|| Microsoft Office FrontPage 2003 Inside Out ||
|| Microsoft FrontPage Version 2002 Inside Out ||
|| Web Database Development Step by Step .NET Edition ||
|| Troubleshooting Microsoft FrontPage 2002 ||
|| Faster Smarter Beginning Programming ||
|| (All from Microsoft Press) ||
|/----------------------------------------------------\|
*------------------------------------------------------*
 
M

Mike Mueller

I don't know about body, but the hyperlink with subject
would be:
mailto:[email protected]?subject=Whatever

If you use CDONTS to send mail then you can define the body,
and it also supports html email


: Is ti possible to add a subject and a body to the mailto:
: command?
:
: I thought this was it but I am appearently missing
: something?
:
:
mailto:?subject=You%20have%20to%20check%20this%20out!?body=http%3a%2f%2fwww.magicbyenigma.com
:
: Enigma
:
:
: ---
: Outgoing mail is certified Virus Free.
: Checked by AVG anti-virus system (http://www.grisoft.com).
: Version: 6.0.525 / Virus Database: 322 - Release Date:
: 10/9/2003
 
E

Enigma

Great thanks!
Enigma
Jim Buyens said:
The delimiters need to be ampersands, not questions
marks. So:

mailto:[email protected]&subject=Mystery&body=whatever

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*------------------------------------------------------*
|\----------------------------------------------------/|
|| Microsoft Office FrontPage 2003 Inside Out ||
|| Microsoft FrontPage Version 2002 Inside Out ||
|| Web Database Development Step by Step .NET Edition ||
|| Troubleshooting Microsoft FrontPage 2002 ||
|| Faster Smarter Beginning Programming ||
|| (All from Microsoft Press) ||
|/----------------------------------------------------\|
*------------------------------------------------------*
 
E

Enigma

I get this error message -"Can not send mail. Unable to load mapi32.dll. Try
setting up your email program again"

?
Enigma
 
J

Jack Brewster

Steve,

Ampersands (or, encoded as &) are the expected delimeters between
name=value parameters in URLs. I'm curious why you are recommending using
question marks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top