View Single Post
  #1 (permalink)  
Old Sep 3rd, 2007, 05:46
JewelEnterprises JewelEnterprises is offline
Junior Member
Join Date: Aug 2007
Location: Australia
Age: 42
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Angry Help needed with subscription form

Hi all

I've come up against another problem with my website. This time with my mailing list subscription form. Here is the code I was using.

Code: Select all
 
<CENTER><B><font size="3"><font color=red>Join our mailing list to receive our weekly newsletter and you could win the cool clip mp3 player above.</font></font></B></CENTER><p><p> 
<FORM METHOD="POST" ACTION="mailto:newsletter@free-electronics-source.com">
Name: <INPUT name="Name" value="" size="10"><BR> 
Email: <INPUT name="Email" value="" size="10"><BR>
Age:
<INPUT Type="radio" Name="age" Value="18-24">18-24 
<INPUT Type="radio" Name="age" Value="25-34">25-34<BR>
<INPUT Type="radio" Name="age" Value="35-44">35-44 
<INPUT Type="radio" Name="age" Value="45-54">45-54
<INPUT Type="radio" Name="age" Value="55+">55+
Country: <INPUT name="Country" value="" size="10"><BR>
<CENTER><INPUT Type="submit" Value="Submit"></CENTER>
</FORM>
Unfortunately, it didn't work. Rather than sending the email directly it opened my email client with a message to the email.

After searching the web I discovered that the newer web browsers are not compatible with the 'mailto' command so I've been searching for a way around it. I found a formmail script in one of the threads in here and adapted it but that didn't work either.

script used was;
Code: Select all
 <CENTER><B><font size="3"><font color=red>Join our mailing list to receive our weekly newsletter and you could win the cool clip mp3 player above.</font></font></B></CENTER><p><p> 
<form method="post" action="/cgi-sys/FormMail.pl">
Name: <INPUT name="Name" value="" size="10"><BR> 
Email: <INPUT name="Email" value="" size="10"><BR>
<input type="hidden" name="recipient" value="freeelectronicssource@freeautobot.com">
</p>
<input type="Submit" value="Submit" name="submit" onclick="return confirm('Thank you for submitting the form')"/>
</FORM>
Error returned was: Sorry I can't send to freeelectronicssource@freeautobot.com. Is freeelectronicssource@freeautobot.com on this server ?

I've looked at so many options my head is whirling. I've re done it about 10 times and nothing seems to work

Can somebody PLEASE help me... I'm getting so frustrated it's not funny. I'm all ready to market the site apart from that.

Sincerely

Julia
Reply With Quote