Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Using form to send e-mail

Reply
Thread Tools

Using form to send e-mail

 
 
\Crash\ Dummy
Guest
Posts: n/a
 
      01-17-2005
I would like to use a form on my web site to e-mail user comments to me. I have
ASP capability to run server side scripts. The host domain has a SMTP server,
but I don't know if it is on the same machine as the HTTP server. A simple
reference with lots of pictures and sample scripts would be much appreciated.

I was referred to this page in another newsgroup
http://www.aspfaq.com/show.asp?id=2026
and I have a question about a line of code presented there:

..Item(sch & "smtpserver") = "<enter_mail.server_here>"

Can the server just be entered as a URL, like "mail.xxx.com?"
--
Dave "Crash" Dummy - A weapon of mass destruction
http://www.velocityreviews.com/forums/(E-Mail Removed)?subject=Techtalk (Do not alter!)
http://lists.gpick.com


 
Reply With Quote
 
 
 
 
Ray Costanzo [MVP]
Guest
Posts: n/a
 
      01-17-2005
""Crash" Dummy" <(E-Mail Removed)> wrote in message
news:uiQ7RWL$(E-Mail Removed)...
> I would like to use a form on my web site to e-mail user comments to me. I

have
> ASP capability to run server side scripts. The host domain has a SMTP

server,
> but I don't know if it is on the same machine as the HTTP server. A simple
> reference with lots of pictures and sample scripts would be much

appreciated.
>
> I was referred to this page in another newsgroup
> http://www.aspfaq.com/show.asp?id=2026
> and I have a question about a line of code presented there:
>
> .Item(sch & "smtpserver") = "<enter_mail.server_here>"
>
> Can the server just be entered as a URL, like "mail.xxx.com?"


Yes, you can enter the servername in that format (although you'd call that a
FQDN (fully qualified domain name) not a URL).

First, I think you should find out what server on your network is your SMTP
server. Do you have an Exchange server? If so, that could be the server
handling SMTP. After finding out which server is your SMTP server, you need
to know whether or not it will allow relaying from your IIS server. Some
network admins have relaying allowed from any internal IP. Some do not. If
they do not (hopefully they don't...) ask your Exchange or SMTP guy to setup
SMTP to allow relaying from the IP of your IIS server. Then, on the IIS
server, you can simply setup the SMTP service on that machine to use the
Exchange (or SMTP) server as a "smarthost." (Properties dialog of Default
SMTP Virtual Server---Delivery Tab---Advanced...)

Ray at work


 
Reply With Quote
 
 
 
 
\Crash\ Dummy
Guest
Posts: n/a
 
      01-17-2005
Thank you. It's up and running.
--
Dave "Crash" Dummy - A weapon of mass destruction
(E-Mail Removed)?subject=Techtalk (Do not alter!)
http://lists.gpick.com


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Send form data using CDO Kenny ASP General 3 11-27-2005 07:10 AM
javascript form action = send form details to ASP page iam247@gmail.com Javascript 2 08-07-2005 08:16 AM
submit form, validate form, set cookie, send email, download file mhawkins19@adelphia.net Javascript 1 03-17-2005 08:19 AM
Send form values using AspNetEmail. Can you help me out? Thank You. Miguel Dias Moura ASP .Net 1 04-01-2004 05:26 AM
Using a web form to send details to an e-mail Andrew Williams ASP General 2 09-08-2003 11:18 PM



Advertisments