PDA

View Full Version : Bluemail has me blue



modelcus
01-28-2007, 08:11 PM
Hi Folks:

I've tried several ways to get a simple HTML form to result in an email to a person. I've done this sort of thing for years and this is my first experience with bluehost. I am not having any success and I would greatly appreciate someone's help. Instead of going through everything I've tried, I'll just focus on bluemail. It seems like it should be pretty simple but I can't make it work. Here goes:

My form URL: http://www.modelcustomer.com/testmail.htm

The form code:
<html>
<head>
<title></title>
</head>
<body bgcolor="#FFFFFF">
<form action="http://www.bluehost.com/bluemail" method="POST">
Name: <input type="text" name="Name"><br>
Email: <input type="text" name="mailfrom"><br>
Street Address: <input type="text" name="StreetAddress"><br>
City: <input type="text" name="City"><br>
Zip: <input type="text" name="Zip"><br>
Phone: <input type="text" name="Phone"><br>
<input type="hidden" name="sendtoemail" value="andyknaster@yahoo.com"><br>
<input type="submit" value="Send Email">
<input type="hidden" name="redirect" value="http://www.modelcustomer.com">
</form>
</body>
</html>

The result:
andyknaster@yahoo.com does not appear to be a valid email address
Could not get email address, or email address not valid. 66.94.234.13

I figured maybe it didn't like having a yahoo.com address so I tried two other addresses and neither worked. I'm using the sample code from the site and doing nothing fancy. I must be missing something simple. Any clues?

silentcollision
01-28-2007, 09:29 PM
Its your email address.

I tried it with my gmail account, and it failed to work. I then tried my admin@domain.com account, and it worked perfectly. I would advise you to quickly set up an email account with one of your domains, and then redirect that to your yahoo account.

Thats very easy, and you could be running in a few minutes.

Finally, I would advise you to remove your email address from your post. Chances are it will be picked up by a spambot.

Pethens
01-28-2007, 10:03 PM
Silentcollision is right, Bluemail will only send email to an account hosted by Bluehost. If it was able to send to an arbitrary address specified in the form, it could be exploited by spammers. See this knowledgebase article:

http://helpdesk.bluehost.com/kb/index.php?x=&mod_id=2&id=175

silentcollision
01-28-2007, 10:16 PM
Aha, thats logical. I've never used it before, I wrote my own contact form script.