sending email with form input...

K

Kevin Spencer

Your form has to be on a server-based web to test it. You can certainly
CREATE the form on a disk-based web, but you have to configure the SMTP
server on the machine hosting the server-based web and test it after
publishing it to a server-based web.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
The sun never sets on
the Kingdom of Heaven
 
M

Mr. Know Nothing

Yes i do test it on a server-based web (ie. publish to the server and then
test it using the url) I thought i had the SMTP setup properly but maybe it's
not. how do i test if it's setup properly???
 
K

Kevin Spencer

Well, there are 2 aspects to using FrontPage email: One is the SMTP server,
and the other is the FrontPage server extensions. The SMTP server has to be
set up and configured, and the server extensions have to be configured to
use the SMTP server.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
The sun never sets on
the Kingdom of Heaven
 
K

Kevin Spencer

Hi Mike,


These are 2 COM components that do essentially the same thing: They send
email via an SMTP server. So, yes, I suppose that would be one way of saying
it.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
The sun never sets on
the Kingdom of Heaven
 
M

Mr. Know Nothing

Ok from what i can see my SMTP server is working because i'm using it for my
day to day emails. The server extensions, from my knowledge also work,
because when I look at the settings through IIS it says that everything is
allowed. Does anyone have good documentation for checking if both the SMTP
and the server extensions work???

Thanks
 
K

Kevin Spencer

I just checked the article that you were directed to, and I can see now why
you have some confusion about setting up the server extensions for email.
The article talks about NT Option Pack 4.0, and that is, of course, not
applicable to Windows Server or Windows XP. In an XP system, you would open
the IIS administration Snap-in, right-click the web site you want to
configure and select "Properties" from the context menu. From the Properties
dialog, select the "Server Extensions" tab. Under thew "Options" label,
there is a label that says "Specify how email should be sent." Click the
"Settings" button. "Web Server's mail address" is the FROM address. This
should be an email account on that server. "Contact Address" would be your
email address, and yes, it can be the same address. The SMTP server would be
the machine on which your SMTP server resides.

Let me know if this doesn't clear up your issue.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
The sun never sets on
the Kingdom of Heaven
 
M

Mr. Know Nothing

Ok, note that i'm using win server 2003 enterprise edition. I follow your
instruction up to the point where you are in the server extention tab. (I
have marked the point in your reply with ***) all i have in the server
extension is a button called "settings". I have a picture of my settings at
http://ujr.ca/image11.jpg that you can look at and tell me what is wrong. I
don't see anything wrong with what i have there, maybe you can see something
that i can't.

thanks
 
K

Kevin Spencer

Hard to say for sure what the problem is. You're looking at the right page
there (on a Windows 2003 server). It may have something to do with the SMTP
server you've set (ujr.ca). You blocked out the address in the image, so I
can't tell whether that machine is the machine at that address. I found out
the public IP address of that machine, which is:

24.137.108.176

But is this the machine that has the SMTP server, and is it the same machine
as the one you're configuring? If so, it may be a DNS issue, in which you
could probably resolve it by using the IP address of the machine, either
24.137.108.176 or 127.0.0.1 (local loopback IP), or "localhost." Depending
on the DNS setup and firewalls etc, using the domain name might cause a
problem.

Finally, are you testing this by using an HTTP request (with an address in
the browser starting with "http://")?

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
The sun never sets on
the Kingdom of Heaven
 
R

Ronx

If the SMTP server requires authentication then FrontPage extensions
cannot be used for email form processing.
 
K

Kevin Spencer

Perhaps you should read the rest of the thread. I have outlined how to
configure the server extensions for sending emails. This is not the same
thing as configuring (installing) the server extensions for a web. The
terminology is a bit confusing, I'll admit, but I did outline the
information you seek. It is also mentioned in the KB article included in the
snippet you quoted.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
The sun never sets on
the Kingdom of Heaven
 
M

Mr. Know Nothing

Thanks Kevin for still replying to what i post. Yes the machine at that ip is
running both the STMP and the website and same machine i'm configuring.

How can i use the machine's IP address as there are more then one machine at
that ip address? Can i have a port number in an address for SMTP?

Yes for testing i do use the url (http://www.ujr.ca) but i have something
that doesn't look right before i even test it. As i'm leaving the form
setting i get warning or error, whatever you want o call it. You can view it
at http://ujr.ca/image2.jpg
I don't understand this message as the first part says it could be on a
disk-based web, which it isn't (i'm publishing it to the server and then
testing from the web), and second from the setting i showed you in my
previous picture the setting for the SMTP are correct (note that the email
itself works fine).

Thanks again for your replies.
 
K

Kevin Spencer

You're quite welcome! First things first. As to the IP address, that may not
be necessary, as this is the same machine, which means you can use the
machine name in place of either a URL or IP address. You could also use the
LAN IP address for that machine, rather than the public IP address. Or you
could use the local loopback address of 127.0.0.1.

As to your second question, again, I see FrontPage behind the message. I can
only make guesses here, but if you are indeed remoting to the machine to
work on the web site, are you opening it as an HTTP URL or as a disk-based
web on that machine? I would recommend opening it via it's HTTP URL to work
on it. That should suppress the error message, and it might clear up any
other problems as well.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
The sun never sets on
the Kingdom of Heaven
 
C

Clark Cooper

I had a similar dilema earlier this week--still working through it with my
Web Host, as a matter of fact. One other thing you may wish to look at is:
How many levels deep is your Frontpage Web? Do you have a FrontPage Web and
then another Web inside of that? I had a Web in my root/ folder.
Email-results handler works there. I had another Web nested inside of the
root/ folder located at root/subfolder/. This was an entirely different
Website, but I also wanted to use the Email-results Form handler there, too.

I've been using FrontPage since '98 and nobody ever told me (of course I
never needed to know) that not all of the Frontpage Extensions work correctly
if you have them installed on a FP Web within an FP Web. They only work on
any ONE level.

I had to have my hosting company point my www.... to "root/mainsite" and
publish my site there, instead of to the root. I kept my other site at
"root/subfolder" and now they seem to be working... Now, if I could just log
in to test it out. It seems everytime my host has to re-install FP
Extensions, all of my permissions go out the window. :(
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top