Mailto parameters (Full Version)

All Forums >> [Web Development] >> General Web Development



Message


davidw -> Mailto parameters (1/2/2002 13:01:27)

Happy New Year to everyone!

I am having trouble figuring out the exact parameters for Mailto. I want to prepopulate the subject and email body, but the following snippet doesn't seem to be working. Any nudges in the right direction would be greatly appreciated.

<a href="mailto:whoever@whereever.com?subject=Type my subject here?body=Body of email document">Send email</a> 


David Wolpo
NextGen Software, Inc. - Where Business and Technology Meet
www.NextGenSoftware.com




Reflect -> RE: Mailto parameters (1/2/2002 14:30:11)

Hi Dave,

Close but use semi colons I believe...

a href="mailto:whoever@whereever.com?subject=Type my subject here;body=Body of email document">Send email</a>

Brian



Work hard, play fair, stay sane




davidw -> RE: Mailto parameters (1/2/2002 14:40:06)

Brian,

I tried a semicolon before body= and still no luck. I'm using Outlook as an email client - that shouldn't matter though. Any other ideas for me to try?

Thanks... dw


David Wolpo
NextGen Software, Inc. - Where Business and Technology Meet
www.NextGenSoftware.com




puiwaihin -> RE: Mailto parameters (1/2/2002 17:12:22)

did you try putting the body section in single quotes? I'm just hazarding a guess, though.

----------
Who put the self-destruct button THERE?!




davidw -> RE: Mailto parameters (1/2/2002 18:04:37)

Yes, I have tried with and without single quotes around the subject= and body= text.

dw

David Wolpo
NextGen Software, Inc. - Where Business and Technology Meet
www.NextGenSoftware.com




Gil -> RE: Mailto parameters (1/2/2002 19:14:21)

Here:

a href="mailto:whoever@whereever.com?subject=Typemysubjecthere?&body=Body of email document">Send email</a>

Gil Harvey
The Host Factory
Resellers are our Specialty






davidw -> RE: Mailto parameters (1/3/2002 12:55:25)

Thanks Gil, the ?&body= did the trick. Unfortunately the body is limited to 255 characters. Guess I will have to be more succinct!


David Wolpo
NextGen Software, Inc. - Where Business and Technology Meet
www.NextGenSoftware.com




rdouglass -> RE: Mailto parameters (1/3/2002 13:08:17)

You could always make the e-mail forms-based. That is how I do it on my web sites. It allows much more flexibility than a 'href' AND cuts down tremendously on the e-mail harvester's SPAM.....

For a nice little article on hiding e-mail addresses from e-mail collection robots (read 'harvesters'), go to:

http://www.netmechanic.com/news/vol4/design_no21.htm

 




Reflect -> RE: Mailto parameters (1/3/2002 13:38:04)

Hi,

An awesome utility I came across on line will actually convert the address into uni-encoded syntax. You just put the address in one field, click on generate and it pops out the results. Then just cut and paste it in HTMl view wehre you see the orig. address. Since doing this my spam has gone down severly.

http://www.fantomaster.com/fantomasSuite/mailShield/famshieldsv-e.cgi

Brian

Work hard, play fair, stay sane

Edited by - GWJ on 01/03/2002 13:39:06




davidw -> RE: Mailto parameters (1/4/2002 12:19:19)

The reason I chose to use mailto: is I want the email to come from that user, not from the site. In this case, this is an important distinction.

I really like everyone's comment and input. For my first posting, this has been a great experience. I will definitely stay involved with the Outfront lists!


David Wolpo
NextGen Software, Inc. - Where Business and Technology Meet
www.NextGenSoftware.com




binobose -> RE: Mailto parameters (1/23/2006 5:38:22)

For that matter what you've to do is

<a href="mailto:whoever@whereever.com?subject=Type my subject here&body=Body of email document">Send email</a>




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.28125