zog953 0 Posted June 17, 2009 Report 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! Quote Link to post Share on other sites
Ingolme 1,020 Posted June 17, 2009 Report 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. Quote Link to post Share on other sites
zog953 0 Posted June 17, 2009 Author Report 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...? Quote Link to post Share on other sites
smerny 0 Posted June 17, 2009 Report Share Posted June 17, 2009 First of all, does your server have PHP?if so, http://w3schools.com/php/php_mail.asp Quote Link to post Share on other sites
zog953 0 Posted June 17, 2009 Author Report 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? Quote Link to post Share on other sites
smerny 0 Posted June 17, 2009 Report Share Posted June 17, 2009 http://w3schools.com/php/default.aspkeep hitting "next" Quote Link to post Share on other sites
justsomeguy 1,135 Posted June 17, 2009 Report 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 Quote Link to post Share on other sites
pizzaguy 0 Posted June 18, 2009 Report 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> Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.