Go Back   Computer Forums > Web Design | Website Development > Web Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 12-21-2006, 04:11 PM   #11
Daemon Poster
 
Captain Pooka's Avatar
 
Join Date: Oct 2006
Posts: 1,108
Default Re: action=mailto:

aw man.... thanks anyways guys
__________________

Captain Pooka is offline   Reply With Quote
Old 12-21-2006, 05:42 PM   #12
In Runtime
 
jamieoliver22's Avatar
 
Join Date: Apr 2004
Posts: 245
Default Re: action=mailto:

Yeah, the mailto link with automatically launch the users default email client. There is no way around it.

And personally, I would think it was better if you made a simple PHP contact form, instead of a mailto link. If you use a mailto, you will end up having a shit load of spam.
__________________

__________________
Desktop: AMD Athlon XP 2000+ - 1.6ghz | MSI KT4-Ultra Motherboard |ATI Radeon Powercolor x850 XT 256mb DDR3 | 400gb HDD space |1gb PC2700 DDR SDRAM.
---
Laptop: AMD Sempron 3200+ - 1.6ghz | ATI Radeon Xpress 1100 - 128mb | 100gb PATA HDD | 1gb DDR2 RAM.
jamieoliver22 is offline   Reply With Quote
Old 12-21-2006, 06:00 PM   #13
Daemon Poster
 
Captain Pooka's Avatar
 
Join Date: Oct 2006
Posts: 1,108
Default Re: action=mailto:

well, like I said, mostly old people that dont know computer will be the ones doing this, so I can have the mail to on there.. because they wont know how to change their default email plus, I tried this with hotmail, and you also have to install some hotmail attachment 1.5.0 or something.. to much trouble for them. And I dont know PHP
Captain Pooka is offline   Reply With Quote
Old 12-21-2006, 09:11 PM   #14
Solid State Member
 
Dyamito's Avatar
 
Join Date: Dec 2006
Posts: 17
Default Re: action=mailto:

Well Captain Pooka, if you have PHP on your server and it is a standardized server supporting smtp, then you can let me know via PM or in this thread and I will make you a quick script to do so.
Dyamito is offline   Reply With Quote
Old 12-22-2006, 12:00 AM   #15
Daemon Poster
 
Captain Pooka's Avatar
 
Join Date: Oct 2006
Posts: 1,108
Default Re: action=mailto:

my host is googlepages... go to google and on the side will me more.. click that then go to google labs then scroll down and there will be google pages (you have to have a gmail account) and you get free webpages...
Captain Pooka is offline   Reply With Quote
Old 12-22-2006, 12:56 AM   #16
BSOD
 
MarxSoccer's Avatar
 
Join Date: Jun 2005
Posts: 2,999
Send a message via ICQ to MarxSoccer Send a message via AIM to MarxSoccer Send a message via MSN to MarxSoccer Send a message via Yahoo to MarxSoccer
Default Re: action=mailto:

This doesn't make much sense.. Say person A has outlook as their defualt email client. When they click it, it will open up a new email in outlook addressed to qqsnare@gmail.com

Say person B has gmail set as their default email client, when they click it it will open up in gmail.

I don't see what the problem is.
MarxSoccer is offline   Reply With Quote
Old 12-22-2006, 05:15 AM   #17
Site Team
 
root's Avatar
 
Join Date: Mar 2004
Posts: 8,001
Default Re: action=mailto:

^^
the problem is that not everybody changes their email preference, I don't change it, so if I click a mailto link it open OE, even though I use a yahoo account mostly.
Quote:
Originally Posted by Captain Pooka
well, like I said, mostly old people that dont know computer will be the ones doing this, so I can have the mail to on there.. because they wont know how to change their default email plus, I tried this with hotmail, and you also have to install some hotmail attachment 1.5.0 or something.. to much trouble for them. And I dont know PHP
__________________
I didn’t fight my way to the top of the food chain to be a vegetarian…
Im sick of people saying 'dont waste paper'. If trees wanted to live, they'd all carry guns.
"The inherent vice of capitalism is the unequal sharing of blessings; The inherent vice of socialism is the equal sharing of miseries."
root is offline   Reply With Quote
Old 12-22-2006, 07:34 AM   #18
In Runtime
 
jamieoliver22's Avatar
 
Join Date: Apr 2004
Posts: 245
Default Re: action=mailto:

Even if you have old people looking at the site, spam bots search through 1000's of sites all the time, and could easily pick up your address.

A simple PHP script that then emails you would be the best way to do it. It would be the most practical way. And I suggest you learn the basics of PHP, it can be very handy.

Just add a contact form on one page and make the form POST the data to, lets say, contact2.php. Like this:

Code:
<form method="POST" action="contact2.php">
<input name="name" type="text" id="name" size="40">
<input name="email" type="text" id="email" size="40">
<input name="subject" type="text" id="subject" size="40">
<textarea name="message" cols="40" rows="7"></textarea>
<input name="Submit" type="submit" value="Send Message" />
Then on contact2.php, just add a code like this one:

PHP Code:
<?php
    $email 
$HTTP_POST_VARS[email];
    
$mailto "qqsnare@gmail.com";
    
$mailsubj "$subject\n";
    
$mailhead "<b>From:</b> $email\n";
    
reset ($HTTP_POST_VARS);
    
$mailbody "Message body:\n";
    while (list (
$key$val) = each ($HTTP_POST_VARS)) {
        
$mailbody .= "$key : $val\n"; }
    
mail($mailto$mailsubj$mailbody$mailhead);
?>
Hope this helps,
Jamie.
__________________
Desktop: AMD Athlon XP 2000+ - 1.6ghz | MSI KT4-Ultra Motherboard |ATI Radeon Powercolor x850 XT 256mb DDR3 | 400gb HDD space |1gb PC2700 DDR SDRAM.
---
Laptop: AMD Sempron 3200+ - 1.6ghz | ATI Radeon Xpress 1100 - 128mb | 100gb PATA HDD | 1gb DDR2 RAM.
jamieoliver22 is offline   Reply With Quote
Old 12-22-2006, 04:10 PM   #19
j03
~~~~~~~~
 
Join Date: Jan 2005
Location: Wales
Posts: 5,556
Send a message via MSN to j03
Default Re: action=mailto:

I guess i could host it for you?
j03 is offline   Reply With Quote
Old 12-23-2006, 01:14 AM   #20
Daemon Poster
 
Captain Pooka's Avatar
 
Join Date: Oct 2006
Posts: 1,108
Default Re: action=mailto:

I thought someone said googlepages doesnt use PHP...
Im gonna paste that in notepad and see waht it does
__________________

Captain Pooka is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 12:39 AM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0