I was wondering if someone could help me with my code.
I am using Saleforce (CRM SYSTEM) to track leads from our site. When people click 'submit' this sends the information and inputs it into Salesforce to track the lead. However I want it so that when people click 'submit' it also sends a copy to myself at [email protected]. I have tried adding another form and changing the submit value but neither seem to work.
Does anyone know how I can just add to the code below (pure HTML) so that it sends all the information to the form action 'salesforce' but also sends it to my email so I have a copy and can reply from my email.
<META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=UTF-8">
<form action="https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8" method="POST">
<input type=hidden name="oid" value="00DD0000000Cpsb">
<input type=hidden name="retURL" value="http://www.finecal.co.uk">
<label for="first_name">First Name</label><input id="first_name" maxlength="40" name="first_name" size="20" type="text" /><br>
<label for="last_name">Last Name</label><input id="last_name" maxlength="80" name="last_name" size="20" type="text" /><br>
<label for="company">Company</label><input id="company" maxlength="40" name="company" size="20" type="text" /><br>
<label for="email">Email</label><input id="email" maxlength="80" name="email" size="20" type="text" /><br>
<label for="phone">Phone</label><input id="phone" maxlength="40" name="phone" size="20" type="text" /><br>
<label for="description">Inquiry</label><textarea name="description"></textarea><br>
<input type="submit" name="submit">
</form>
Any help is very much appreciated. Thank you.