zog953 Posted June 17, 2009 Share Posted June 17, 2009 Folks,I would like to add something to a website contact page where the user would click a mailto link as they would do to send a normal email. But I would like to know if it is possible to, when the email opens using their chosen email program they open an email that looks like a form, which they can then fill out with their details, etc.Is this possible?Cheers! Link to comment Share on other sites More sharing options...
Ingolme Posted June 17, 2009 Share Posted June 17, 2009 You could send it from your site using PHP mail() and it wouldn't have to pass through an E-mail program. Link to comment Share on other sites More sharing options...
zog953 Posted June 17, 2009 Author Share Posted June 17, 2009 You could send it from your site using PHP mail() and it wouldn't have to pass through an E-mail program.I have not come across PHP mail() before. Could you explain it to me in very simple 'zog' friendly terms...? Link to comment Share on other sites More sharing options...
smerny Posted June 17, 2009 Share Posted June 17, 2009 First of all, does your server have PHP?if so, http://w3schools.com/php/php_mail.asp Link to comment Share on other sites More sharing options...
zog953 Posted June 17, 2009 Author Share Posted June 17, 2009 It does have PHP. Thanks for that, I did have a read through that earlier, but being completely new to the concept of PHP I am afraid I was not much more informed...Do you know of any step-by-step tutorials, or examples that I might be able follow? Link to comment Share on other sites More sharing options...
smerny Posted June 17, 2009 Share Posted June 17, 2009 http://w3schools.com/php/default.aspkeep hitting "next" Link to comment Share on other sites More sharing options...
justsomeguy Posted June 17, 2009 Share Posted June 17, 2009 You can also get a brief overview and some examples of form processing here:http://w3schools.invisionzone.com/index.php?showtopic=12509And check the examples and comments here:http://www.php.net/manual/en/function.mail.php Link to comment Share on other sites More sharing options...
pizzaguy Posted June 18, 2009 Share Posted June 18, 2009 This goes away from the PHP idea and continues with your original idea.http://msdn.microsoft.com/en-us/library/aa767737(VS.85).aspxSo you could probably make a link like this: <a href="mailto:user@example.com?subject=Message Title&body=Name:________ Address:_______">email</a> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.