Form Not Working - DNS issue?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,
I am hosted on a dedicated server and i just changed my email so it's not
setup on my server. It's setup through a different server. I had to change
my email DNS settings to point to the other server and since then my
FrontPage forms won't email the results to me anymore and all other email
components I had setup on various programs on my site don't work. Is this
because of the DNS change? How do I fix it?
 
The form handler will only send email to an email address under the same
domain. eg if your web is www.greeneggsandham.com then the email will have
to be (e-mail address removed) not (e-mail address removed)
 
Andrew said:
The form handler will only send email to an email address under the
same domain. eg if your web is www.greeneggsandham.com then the
email will have to be (e-mail address removed) not
(e-mail address removed)

Andrew,
This may be off-topic, but I am experimenting with setting up a form which
sends data to an email. It is for asking people to join a bus tour (for
enthusiasts)

The code is
<form action="" id="form1" name="form1">
Do you want to join? <br/>
<input type="checkbox" id="yes" name="yes"/>Yes <br/>
<input type="checkbox" id="no" name="no" />No <br/>
Name:<br/>
<input type="text" id="name" name="name" value="yourname" size="20"
/><br/>
Mail:<br/>
<input type="text" id="mail" name="mail" value="yourmail" size="20"
/><br/>
Do you want to see:<br>
Bus1:
<input type="checkbox" id="bus1" name="bus1" /><br/>
Bus2:
<input type="checkbox" id="bus2" name="bus2" /><br/>
..........
Enter Comment:<br/>
<textarea id="comment" name="comment" rows="10" cols="30">Enter your
comment in here</textarea><br />
<input type="button" value="Send" onclick="sendmess()" />
<input type="reset" value="Reset" />
</form>

This works more or less O.K. where sendmess() is
function sendmess()
{
if ( document.forms['form1'].elements['yes'].checked ==
document.forms['form1'].elements['no'].checked )
{alert ('Answer must be one only of Yes or No')
return }
var userTo = "tandcl"
var at = "@"
var domainTo = "homemail.com.au"
var subj = "Response to Deane's Bus Tour"
var content = new Array(
"mailto:" , userTo , at , domainTo ,
"?subject=", subj ,
"&body=" ,
"Name: " , document.forms['form1'].elements['name'].value ,
"Address: " , document.forms['form1'].elements['mail'].value ,
"Yes reply: " ,document.forms['form1'].elements['yes'].checked ,
"No reply: " , document.forms['form1'].elements['no'].checked ,
"Bus1: " ,
document.forms['form1'].elements['bus1'].checked ,
"Bus2: " ,
document.forms['form1'].elements['bus2'].checked ,
"Comment: " ,document.forms['form1'].elements['comment'].value
,)
content = content.join("")
window.location = content
}
The "more or less" is that the text is all on one line and I can't get it to
split onto several lines - one for each answer. (I have posted a query on
this but no useful replies have turned up: only add <br> which of course
does just that - it adds the text '<br>' to the email.)

However, my main query is that I couldn't get this to work:
<form action="mailto:[email protected]" method="post"
enctype="text/plain">

I also changed
<input type="button" value="Send" onclick="sendmess()" />
to
<input type="submit" value="Send" />

I gto a warning message that the email was being sent but it didn't arrive.

I was sending it from my website:
http://tandcl.homemail.com.au
to my email address:
(e-mail address removed)

Is there somethng else I should be doing ?
 
But I think the OP was talking about the Frontpage form handler - my answer
was saying the email address has to be the same as the domain, or same as
the ISP's domain hosting the site if the site is like
www.greeneggsandham.com/~eggsontoast/

Trevor L. said:
Andrew said:
The form handler will only send email to an email address under the
same domain. eg if your web is www.greeneggsandham.com then the
email will have to be (e-mail address removed) not
(e-mail address removed)

Andrew,
This may be off-topic, but I am experimenting with setting up a form which
sends data to an email. It is for asking people to join a bus tour (for
enthusiasts)

The code is
<form action="" id="form1" name="form1">
Do you want to join? <br/>
<input type="checkbox" id="yes" name="yes"/>Yes <br/>
<input type="checkbox" id="no" name="no" />No <br/>
Name:<br/>
<input type="text" id="name" name="name" value="yourname" size="20"
/><br/>
Mail:<br/>
<input type="text" id="mail" name="mail" value="yourmail" size="20"
/><br/>
Do you want to see:<br>
Bus1:
<input type="checkbox" id="bus1" name="bus1" /><br/>
Bus2:
<input type="checkbox" id="bus2" name="bus2" /><br/>
.........
Enter Comment:<br/>
<textarea id="comment" name="comment" rows="10" cols="30">Enter your
comment in here</textarea><br />
<input type="button" value="Send" onclick="sendmess()" />
<input type="reset" value="Reset" />
</form>

This works more or less O.K. where sendmess() is
function sendmess()
{
if ( document.forms['form1'].elements['yes'].checked ==
document.forms['form1'].elements['no'].checked )
{alert ('Answer must be one only of Yes or No')
return }
var userTo = "tandcl"
var at = "@"
var domainTo = "homemail.com.au"
var subj = "Response to Deane's Bus Tour"
var content = new Array(
"mailto:" , userTo , at , domainTo ,
"?subject=", subj ,
"&body=" ,
"Name: " , document.forms['form1'].elements['name'].value
,
"Address: " , document.forms['form1'].elements['mail'].value ,
"Yes reply: " ,document.forms['form1'].elements['yes'].checked
,
"No reply: " , document.forms['form1'].elements['no'].checked ,
"Bus1: " , document.forms['form1'].elements['bus1'].checked ,
"Bus2: " , document.forms['form1'].elements['bus2'].checked ,
"Comment: " ,document.forms['form1'].elements['comment'].value
,)
content = content.join("")
window.location = content
}
The "more or less" is that the text is all on one line and I can't get it
to split onto several lines - one for each answer. (I have posted a query
on this but no useful replies have turned up: only add <br> which of
course does just that - it adds the text '<br>' to the email.)

However, my main query is that I couldn't get this to work:
<form action="mailto:[email protected]" method="post"
enctype="text/plain">

I also changed
<input type="button" value="Send" onclick="sendmess()" />
to
<input type="submit" value="Send" />

I gto a warning message that the email was being sent but it didn't
arrive.

I was sending it from my website:
http://tandcl.homemail.com.au
to my email address:
(e-mail address removed)

Is there somethng else I should be doing ?
 
Andrew said:
But I think the OP was talking about the Frontpage form handler

Andrew,
I realise that, which is why I said my query may be off-topic.

Does anyone have any ideas on my query?
 
Is this a web site with FrontPage extensions??

If so create the form using the standard FrontPage form wizard.


--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer



Trevor L. said:
Andrew said:
The form handler will only send email to an email address under the
same domain. eg if your web is www.greeneggsandham.com then the
email will have to be (e-mail address removed) not
(e-mail address removed)

Andrew,
This may be off-topic, but I am experimenting with setting up a form which
sends data to an email. It is for asking people to join a bus tour (for
enthusiasts)

The code is
<form action="" id="form1" name="form1">
Do you want to join? <br/>
<input type="checkbox" id="yes" name="yes"/>Yes <br/>
<input type="checkbox" id="no" name="no" />No <br/>
Name:<br/>
<input type="text" id="name" name="name" value="yourname" size="20"
/><br/>
Mail:<br/>
<input type="text" id="mail" name="mail" value="yourmail" size="20"
/><br/>
Do you want to see:<br>
Bus1:
<input type="checkbox" id="bus1" name="bus1" /><br/>
Bus2:
<input type="checkbox" id="bus2" name="bus2" /><br/>
.........
Enter Comment:<br/>
<textarea id="comment" name="comment" rows="10" cols="30">Enter your
comment in here</textarea><br />
<input type="button" value="Send" onclick="sendmess()" />
<input type="reset" value="Reset" />
</form>

This works more or less O.K. where sendmess() is
function sendmess()
{
if ( document.forms['form1'].elements['yes'].checked ==
document.forms['form1'].elements['no'].checked )
{alert ('Answer must be one only of Yes or No')
return }
var userTo = "tandcl"
var at = "@"
var domainTo = "homemail.com.au"
var subj = "Response to Deane's Bus Tour"
var content = new Array(
"mailto:" , userTo , at , domainTo ,
"?subject=", subj ,
"&body=" ,
"Name: " , document.forms['form1'].elements['name'].value
,
"Address: " , document.forms['form1'].elements['mail'].value ,
"Yes reply: " ,document.forms['form1'].elements['yes'].checked
,
"No reply: " , document.forms['form1'].elements['no'].checked ,
"Bus1: " , document.forms['form1'].elements['bus1'].checked ,
"Bus2: " , document.forms['form1'].elements['bus2'].checked ,
"Comment: " ,document.forms['form1'].elements['comment'].value
,)
content = content.join("")
window.location = content
}
The "more or less" is that the text is all on one line and I can't get it
to split onto several lines - one for each answer. (I have posted a query
on this but no useful replies have turned up: only add <br> which of
course does just that - it adds the text '<br>' to the email.)

However, my main query is that I couldn't get this to work:
<form action="mailto:[email protected]" method="post"
enctype="text/plain">

I also changed
<input type="button" value="Send" onclick="sendmess()" />
to
<input type="submit" value="Send" />

I gto a warning message that the email was being sent but it didn't
arrive.

I was sending it from my website:
http://tandcl.homemail.com.au
to my email address:
(e-mail address removed)

Is there somethng else I should be doing ?
 
Steve said:
Is this a web site with FrontPage extensions??

If so create the form using the standard FrontPage form wizard.

No, it is not.

Would this explain why the submit doesn't work ?

If the answer is yes, then I will just have to put up with it.
 
Yes.

You are going to need to Google for a "script based" form.

Have you tried dynamic drive or one of the other JavaScript sites??

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 
Steve said:
Yes.

You are going to need to Google for a "script based" form.

Have you tried dynamic drive or one of the other JavaScript sites??

Thanks for the suggestion, Steve

My only problem is that my website (the one in my sign-off) is very limited.
It has no FP extensions nor any server-side software.

When I googled for "form to email" I got a lot of sites which seemed to be
mainly CGI scripts. I assume that CGI is a server-side script language and I
couldn't use it.

To anyone,
Do you know of any Javascript modules that will take data from a form and
write its contents to an email?

I will keep looking into dynamicdrive.com and javascript.com and whatever
else I can find
 
Trevor,

Without the FP extensions or the ability to use any server-side script you are limited to trying to
use the Mailto function to try and send the email, then requires that a user have a email
application associated with their browser which would launch the user email application, as well as
a privacy warning.

You might want to consider a hosted form process solution or switch to a better web host.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
My email address is under the same domain. See, I have a dedicated server
through godaddy.com The default email program that came with my server was
MailEnable, which I dislike. So, GoDaddy just let me use their server to run
my email through. I still use the same domain name for my email.
 
Back
Top