473,769 Members | 2,240 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Using form to send e-mail

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.se rver_here>"

Can the server just be entered as a URL, like "mail.xxx.c om?"
--
Dave "Crash" Dummy - A weapon of mass destruction
cr***@gpick.com?subject=Techta lk (Do not alter!)
http://lists.gpick.com
Jul 22 '05 #1
2 1222
""Crash" Dummy" <dv****@deathst ar.mil> wrote in message
news:ui******** ******@TK2MSFTN GP09.phx.gbl...
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.se rver_here>"

Can the server just be entered as a URL, like "mail.xxx.c om?"


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
Jul 22 '05 #2
Thank you. It's up and running.
--
Dave "Crash" Dummy - A weapon of mass destruction
cr***@gpick.com?subject=Techta lk (Do not alter!)
http://lists.gpick.com
Jul 22 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1641
by: Stephen Adam | last post by:
Hi there, I've just started a c# project at work where I cannot use Visual Studio. I am trying to pass variables from one form to another. When I try to create an instance of the sending class in the receiving class I get a "The type or namespace name 'XXXX' could not be found (are you missing a using directive or an assembly reference?)" Error. It seems that even though the sending class resides in the same folder as the receiving...
1
1628
by: Raichu | last post by:
Hi All, I'm new to VC++.net and I searched through the forums and couldn't find anything related to this. I'm trying to send a flat file from a VC++.net program to a PHP file residing on a webserver. I know you can call a website from VC++.net, but I'm not sure how to send a physical file over the internet. I mean is there a way to mimic a normal html form to upload a file, using VC++.net?
1
2171
by: Miguel Dias Moura | last post by:
Hello, Can you help me out in making this work? What I want is as simple as sending form values to an email. The code I am using is the following:
1
229
by: Miguel Dias Moura | last post by:
Hello, Can you help me out in making this work? What I want is as simple as sending form values to an email. The code I am using is the following:
21
34437
KevinADC
by: KevinADC | last post by:
Note: You may skip to the end of the article if all you want is the perl code. Introduction Uploading files from a local computer to a remote web server has many useful purposes, the most obvious of which is the sharing of files. For example, you upload images to a server to share them with other people over the Internet. Perl comes ready equipped for uploading files via the CGI.pm module, which has long been a core module and allows users...
0
10223
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10000
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9866
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8879
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7413
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6675
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5310
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5448
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3968
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.