The Unofficial Opie & Anthony Message Board
Home | Search | FAQ


The Unofficial Opie & Anthony Message Board - HTML Help


Displaying 1-6 of 6 messages in this thread.
Posted ByDiscussion Topic: HTML Help
Spuds_Buckley
posted on 11-29-2001 @ 6:41 PM      
O&A Board Regular
Registered: Oct. 00
ok...basically I would like my mailto link to automatically put a subject in the subject line and a line of text in the body of the email to be sent. How is this done


I'd rather drink a beer than be father of the year!
The Sleeper
Being a Minor is a Threat
to my Social Life
PoseUr i ahve 2 threads at teh top, i feel like maynard
posted on 12-01-2001 @ 6:01 PM      
O&A Board Regular
Registered: Oct. 00
How to add subject line:

replace "(" with "<"

(A HREF="mailto:blahblah@yadayada.com
?subject=comments")Email Me(/A)

Not sure how to add text in the body, maybe try ?subject=comments&text=body" or something. Hope that helps.




"Ya know, Repossessing things is the hardest part of my job."




This message was edited by The Sleeper on 12-1-01 @ 6:13 PM
SLASH
Pompous, Arrogant, Enigmatic, Bitter, Quirky, Misanthrope with a Weird Sense of Humor and an Iron Clad Memory while flooding the board with my Stream of Consciousness UFC
STRIKE 3
(I'm a dick and I like to ruin people's plans)
posted on 12-02-2001 @ 1:31 PM      
O&A Board Regular
Registered: Aug. 00
Sleeper, nice try. However, as my unofficial newbie, I wish ya would stop embarassing me :)

Also, what's up with the "(" = "<" & ")" =">" crap, ya amateur. Heh

Spuds, here ya go...

The Code For Attaching MailTo with Subject to a Text Link -

<a href="mailto:Sleeper@Poser.com?subject=Sleeper is an HTML Hack...">Text in the mailto link i.e. E-Mail Us Here</a>


Change Sleeper@Poser.com to the e-mail address where you want the e-mail to be sent.

Change the message (Sleeper is an HTML Hack...) to whatever you wish to appear in the Subject line of the e-mail.

For additional recipients -

You can also add an additional recipient to the e-mail by adding a comma, no space, and the other e-mail address...

<A HREF="mailto:Sleeper@Poser.com,Spuds@HTMLQuestion.com
?subject=this is my subject">send me email</A>


You can also add CC and BCC addresses by using an ampersand between the addresses...

<A HREF="mailto:Sleeper@Poser.com,Sleeper@HTMLHack.com?subject=test&cc=Sleeper@Wannabe.com&bcc=Sleeper@Neverbe.com">This is a additional, CC, and BCC mailto</A>

To answer your question about putting pre-defined text inside the body of a message... you can, but only with 4+ browsers. You need to add... &BODY=Text of the body - to the mailto...

i.e.

<A HREF="mailto:Everyone@OpieAnthony.com?subject=My Apologies for being such an HTML Hack&body=I am Sleeper AKA Official Poser of OpieAnthony.com">this is the mailto with text in the body</A>


Click Me, You'll See!

Replace mailto, subject and body accordingly.

Unfortunately, if you're using a standard mailto, in a < 4 Browser, and not a form/Common Gateway Interface combination to process the request when it is sent to the server, then there is currently not a means of adding your own predefined text to the body of the message.



-----------------------------------------------------------------

Also -


The Code For Attaching MailTo with Subject to an Image Link -

<a href="mailto:Sleeper@Poser.com?subject=Sleeper is an HTML Hack..."><img src="email.gif" width="60"height="60"></a>


Change Sleeper@Poser.com to the e-mail address where you want the e-mail to be sent.

Change the message (Sleeper is an HTML Hack...) to whatever you wish to appear in the Subject line of the e-mail.

Change email.gif to the name of the image you use, and adjust the width and height accordingly.




Funny how ev'rything was roses
When we held on to the guns

Write To Me Here

AIM: SmarterChild



This message was edited by SLASH on 12-2-01 @ 1:35 PM

The Sleeper
Being a Minor is a Threat
to my Social Life
PoseUr i ahve 2 threads at teh top, i feel like maynard
posted on 12-03-2001 @ 12:15 AM      
O&A Board Regular
Registered: Oct. 00
Now I fully admit to being an HTML hack, but...

Sleeper said:

quote:

(A HREF="mailto:blahblah@yadayada.com
?subject=comments")Email Me(/A)



sLASH said:

quote:

< a href="mailto:Sleeper@Poser.com?subject=Sleeper is an HTML Hack...">Text in the mailto link i.e. E-Mail Us Here



Besides the fact that you made it teh funney and were more elaborate in your explanation (I figure Spuds is intelligent enough to understand some things), where is the difference?



"Ya know, Repossessing things is the hardest part of my job."







This message was edited by The Sleeper on 12-3-01 @ 12:24 AM
SLASH
Pompous, Arrogant, Enigmatic, Bitter, Quirky, Misanthrope with a Weird Sense of Humor and an Iron Clad Memory while flooding the board with my Stream of Consciousness UFC
STRIKE 3
(I'm a dick and I like to ruin people's plans)
posted on 12-03-2001 @ 2:18 AM      
O&A Board Regular
Registered: Aug. 00
quote:

Sleeper wrote:

where is the difference?


No, it was the part about adding text into the body of the email upon clicking on the link.

You said, "Not sure how to add text in the body, maybe try ?subject=comments&text=body" or something."

I said that it is &body=text that you specify"

That is why I posted, "<A HREF="mailto:Everyone@OpieAnthony.com?subject=My Apologies for being such an HTML Hack&body=I am Sleeper AKA Official Poser of OpieAnthony.com">this is the mailto with text in the body</A>

quote:

Sleeper wrote:

Besides the fact that you made it teh funney and were more elaborate in your explanation (I figure Spuds is intelligent enough to understand some things)


Yes, I made it Teh Funney, take some lessons ;)

I know Spud's is smart enough to know, however, I was putting that all in there for the rest of the board in case anyone ever has questions about any of it in the future.

Tell me if that doesn't make sense, and I will edit it just for you. I aim to make you happy.



Funny how ev'rything was roses
When we held on to the guns

Write To Me Here

AIM: SmarterChild



Spuds_Buckley
posted on 12-08-2001 @ 4:11 PM      
O&A Board Regular
Registered: Oct. 00
thanks for the info...

Please pardon the delay


I'd rather drink a beer than be father of the year!



Displaying 1-6 of 6 messages in this thread.