Using "mailto:" and form method="post"

  Chris the Ancient 16:04 29 Aug 2009

Just about finalised (?) my website.

I have a contact page with...
mailto link p>You may, however, use a href="mailto:[email protected] co. uk"> this link /a> etc.
and to email a 'form' and I use...
form method="post" enctype="text/plain"
action="mailto:[email protected] co. uk?subject=Contact page from Web site">

The disadvantage is that this dumps whatever is to be sent into the user's email client outbox.

Is there a way of making this an 'immediate' action rather than a 'perhaps later' type of action?

(But I have included, in the content that the user may need to go to their email client to actually send.)

  OTT_Buzzard 18:42 29 Aug 2009

Try using a contact form so that your server emails you immediately. E.g. click here

Be careful about code injection no matter what you do.

  OTT_Buzzard 18:45 29 Aug 2009

click here

Perhaps a better form code?

  Chris the Ancient 19:05 29 Aug 2009

I will experiment with those ideas tomorrow.

It looks a bit more complex than I am used to (my website experience is _very_ limited; but I'll see what I can do with it.

  Chris the Ancient 15:12 30 Aug 2009

Managed, at last, to have a more in-depth look at your links. They look impressive.

However, I have never had any dealings with php before and I'll be well out of my depth here.

Seeing as my host is a friend, and he knows a lot more about these things, what I will do is show him the links and see if he can make the appropriate modifications for me.

Many thanks for the help and guidance (even though it was above my simple head).


This thread is now locked and can not be replied to.

Elsewhere on IDG sites

iMac Pro review

25 book design and illustration tips

iMac Pro review

Idées cadeaux pour geeks et tech addicts