08-05-2002, 11:54 PM
Hi! My problem is to spread my banner so that referrer clicks an anchor what is mailto-link. All those body (that consists banners html code only), subject and such are crystal clear... but do how I place referrers email address into 'To'-field???? Someone please...
08-06-2002, 02:40 AM
Hi, I'm not sure I understand you question clearly. There is really no (legitimate) way to grab a user's email address without the user providing it (such as typing it in a text box for example). If the form is mailto: you could simply instruct the user that they will need to enter their email address into the "To" field once their default email program has been opened.
08-06-2002, 08:16 AM
Yes, that's how I thought I have to do :confused:
08-06-2002, 04:24 PM
Why don't you just have your banner link to a page that contains a form? This way if you want to control the format of the message, as well as reinforce your offer (or else why would someone give you their email address or other personal information?) and make sure that required fields are filled in.
No one wants to click on a "banner ad" and have their email program open a new screen.
But if you just want to make a graphic button that uses a mailto: link, it's just:
<a href="mailto:firstname.lastname@example.org"><img src="my_image.gif" alt="click here to send me an email"></a>
08-06-2002, 04:45 PM
Pete, sorry I'm from Finland and can't make me clear with my bad english... Let's start at the bottom: I have one page, sized as banner (400x40 px). It contais 1) an A-tag linking to my webcam popup and 2) java applet (accessed on hover) that's my site's navigation. Now, I think if someone want to download that HTML code for banner and I've created P IFRAME stucture that loads my "banner" as I want to when it's added as I wrote. Finally: I though it would be most easy to send that html by e-mail but there's this final problem: How I Can Preformat MAILTO-tag so that it fills TO-field of accidental users email program as his/her FROM-information...
08-06-2002, 06:08 PM
So let me see if I get this straight:
1) You want the user to click on a banner that uses the mailto: instead of going to a url
2) You want to then send that person something back via email
Does your host have or allow autoresponders? If yes, then you would set the mailto: like this:
<img src="banner.gif" alt="click this to get my code">
Now, when the email goes to your autoresponder, it will automatically send you a copy of the email sent from the user, and it will reply back to the email address in the FROM field automatically with whatever message you wish to send.
Otherwise, you set the mailto: to email@example.com and then you will have to process the request manually by just hitting "reply" in your email program and then cutting and pasting in the message you wish to send.
Does that sound right to you? I hope I understood you correctly.
08-06-2002, 06:23 PM
Pete, U are off and out and whatsoever.. my question started at the point 'I have a banner on (or under) my site' and 'I want to spread it' and 'I think to use email for that'... If U read my first posty then U find there a word 'IFRAME' meaning that html-code I'm trying to email with mailto consists only that small page with iframe linking to page where's all intelligency.. and that QUESTION is: How Could I Write Code That Writes Into 'TO' Field The Information That Is Already In 'FROM' Field... huh...stupid me...