Venerable masters of all things code, I am a simple graphic (not even web) designer, struggling to creating a working mailing script.
So far, I managed to do it with basic HTML and a mailto function, but it needs to happen server-side, so, I am guessing PHP is my best bet.
Here's what I have so far:
<form action="mailto:?subject=Hello" method="POST" enctype="text/plain">
<input type="checkbox" name="Entry1" value="URL1">
<input type="checkbox" name="Entry2" value="URL2">
<input type="checkbox" name="Entry3" value="URL3">
<input type="checkbox" name="Entry4" value="URL4">
<label for="name">Name</label><input type="text" id="name" name="name" placeholder="Your Name">
<label for="email">Email(Required)</label><input type="text" id="email" name="email" placeholder="john_doe@example.com" required class="inputfield">
<input type="submit" id="search-submit" value="">
</form>
What I am trying to accomplish:
- An email to be sent from abc@email.com "email" field and a CC to 321@email.com
- With a message and Values (URL1,URL2...) from checked Boxes (Entry1,Entry2...)
- If successful, redirect to a thank you page.