Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Forms: Direct Email?

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #160765
    horrigan97
    Participant

    Hey, I’m designing a website for this guy, and he needs a submission form to send emails to him. I’m a sorta new to forms, never needed to use them before, but i know how to use the action=”mailto:[email protected]” to send emails. what i need is something that doesn’t require a user to pull up an email with the form inside of it. What i need is like a direct send kinda thing, user friendly. Any help is appreciated

    #160779
    TheDoc
    Moderator

    Sending an email with PHP is super easy: mail()

    You can create a new file on your server called email.php (or whatever you want) and just make sure that your form’s action points to that file:

    <form name="contact-form" action="email.php" method="post">
    

    There are a bunch of tutorials out there already so I won’t bother copy/pasting them into here!

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Other’ is closed to new topics and replies.