I think not every server allows the mail() command ... That's why:

<?php
$Body = "this is some body text.. blahaaaaaaaah & would it work?";
$Subject = "Mail >> SubjectLine";
?>

<a
href="mailto:[EMAIL PROTECTED]<?=urlencode($Body)?>&subject=<?=urlenco
de($Subject)?>">click here to mail me</a>

Is probably what you would be looking for .. Notice the urlencode..

 -> -----Oorspronkelijk bericht-----
 -> Van: Duncan [mailto:[EMAIL PROTECTED]
 -> Verzonden: woensdag 27 augustus 2003 17:37
 -> Aan: [EMAIL PROTECTED]
 -> Onderwerp: Re: [PHP] Can we control the content of MS Outlook Express
 ->
 ->
 -> > Dear all
 -> > Here is the question:
 -> > I had a link which will open user's outlook express and let
 -> the user to
 -> > type
 -> > the content and send it to me!
 -> > Now i want to set some content which will appear on the
 -> outlook express
 -> > and
 ->
 -> Why do that when you could do it all in the browser with a form?
 ->
 -> --
 -> PHP General Mailing List (http://www.php.net/)
 -> To unsubscribe, visit: http://www.php.net/unsub.php
 ->

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to