Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > e-mail form to an internal e-mail server??

Reply
Thread Tools

e-mail form to an internal e-mail server??

 
 
Tim
Guest
Posts: n/a
 
      07-13-2005
I want to produce a web form that will sit on a standard windows server, the
user will load the page via a short cut and once they have filled in the
form they will hit submit which will e-mail it to a certain e-mail account
which will be picked up by our own internal e-mail server. It will then
forward the e-mail to a internal e-mail address.

I can write the form part ok but I don't know how to set up the e-mailing
part, we have out own e-mail server but its just pointing it to our
internal e-mail server I can't work out. Can it be done without the need of
php, asp, java etc. and done with plain html??

Tim

 
Reply With Quote
 
 
 
 
David Dorward
Guest
Posts: n/a
 
      07-13-2005
Tim wrote:

> I can write the form part ok but I don't know how to set up the e-mailing
> part, we have out own e-mail server but its just pointing it to our
> internal e-mail server I can't work out. Can it be done without the need
> of php, asp, java etc. and done with plain html??


No. You need a server side form handler (well, there is mailto: but its
horrible at best, and doesn't work at worst).

I'd suggest the NMS TFMail script.
http://nms-cgi.sourceforge.net/scripts.shtml


--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
 
Reply With Quote
 
 
 
 
Adrienne
Guest
Posts: n/a
 
      07-13-2005
Gazing into my crystal ball I observed Tim <> writing in
news:TNfBe.1958$:

> I want to produce a web form that will sit on a standard windows
> server, the user will load the page via a short cut and once they have
> filled in the form they will hit submit which will e-mail it to a
> certain e-mail account which will be picked up by our own internal
> e-mail server. It will then forward the e-mail to a internal e-mail
> address.
>
> I can write the form part ok but I don't know how to set up the
> e-mailing part, we have out own e-mail server but its just pointing it
> to our internal e-mail server I can't work out. Can it be done without
> the need of php, asp, java etc. and done with plain html??
>
> Tim
>
>


It depends on what scripting language you are using, and what, if any, mail
component you are using.

If I were doing this, I would have the form post to itself, and send mail
from that page, eg. mail.to = "". Your server would then
be responsible for forwarding mail in Mary's box to John's box.

I suggest you contact a group for your kind of server, or for the language
you will be using.

--
Adrienne Boswell
http://www.cavalcade-of-coding.info
Please respond to the group so others can share
 
Reply With Quote
 
Jeff Thies
Guest
Posts: n/a
 
      07-14-2005
David Dorward wrote:
> Tim wrote:
>
>
>>I can write the form part ok but I don't know how to set up the e-mailing
>>part, we have out own e-mail server but its just pointing it to our
>>internal e-mail server I can't work out. Can it be done without the need
>>of php, asp, java etc. and done with plain html??

>
>
> No. You need a server side form handler (well, there is mailto: but its
> horrible at best, and doesn't work at worst).
>
> I'd suggest the NMS TFMail script.
> http://nms-cgi.sourceforge.net/scripts.shtml


I'm assuming that needs sendmail, which is rare on a windows box.

Or am I wrong?

From my experience sending mail on a windows box is a much ifier
proposition than you would think. Not sure why... Find out what your
mail client is, it may be CDONTS, or it may be something else. It may
work, or it may not.

Jeff
>
>

 
Reply With Quote
 
David Dorward
Guest
Posts: n/a
 
      07-14-2005
Jeff Thies wrote:

>> I'd suggest the NMS TFMail script.
>> http://nms-cgi.sourceforge.net/scripts.shtml


> I'm assuming that needs sendmail, which is rare on a windows box.


> Or am I wrong?


Since they provided a zip file, I'd assume not. Still, it only takes 30
seconds to download it and skim the README.

If your system lacks a suitable sendmail program, then
you can configure TFmail to talk directly to an SMTP
relay rather then using sendmail.


--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
 
Reply With Quote
 
Robert Frost-Bridges
Guest
Posts: n/a
 
      07-14-2005
David Dorward wrote:

> No. You need a server side form handler (well, there is mailto: but its
> horrible at best, and doesn't work at worst).


I'v read about the problems with mailto but surely if you have something
like:

<a href="private.php?do=newpm&u=">web@bright onfixedodds.net</a>

there shouldn't be a problem?

[...]


regards,
--
Robert
http://brightonfixedodds.net
 
Reply With Quote
 
David Dorward
Guest
Posts: n/a
 
      07-14-2005
Robert Frost-Bridges wrote:

> I'v read about the problems with mailto but surely if you have something
> like:
>
> <a href="private.php?do=newpm&u=">web@bright onfixedodds.net</a>


.... then you wouldn't be sending form data, so it doesn't solve the OP's
problem.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
 
Reply With Quote
 
Robert Frost-Bridges
Guest
Posts: n/a
 
      07-14-2005
David Dorward wrote:

> Robert Frost-Bridges wrote:
>
>> I'v read about the problems with mailto but surely if you have something
>> like:
>>
>> <a href="private.php?do=newpm&u=">web@bright onfixedodds.net</a>

>
> ... then you wouldn't be sending form data, so it doesn't solve the OP's
> problem.
>


Sorry David, I worded it really badly, I just wanted to ask if it was ok to
include a mailto link on a page in that format, I wasn't really intending
to refer to the OP's problem.

regards,
--
Robert
http://brightonfixedodds.net
 
Reply With Quote
 
David Dorward
Guest
Posts: n/a
 
      07-14-2005
Robert Frost-Bridges wrote:

>>> <a href="private.php?do=newpm&u=">web@bright onfixedodds.net</a>


> Sorry David, I worded it really badly, I just wanted to ask if it was ok
> to include a mailto link on a page in that format, I wasn't really
> intending to refer to the OP's problem.


I don't see it as a problem, its easy enough to copy/paste the address if
one's browser doesn't know about one's email client (e.g. gmail).

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
 
Reply With Quote
 
kchayka
Guest
Posts: n/a
 
      07-14-2005
David Dorward wrote:
>
> (well, there is mailto: but its
> horrible at best, and doesn't work at worst).


I don't agree. mailto: doesn't work for all of the people, even some of
the time, but it does work for some of the people all of the time.

When I'm given a choice between mailto: and a form, I'll take mailto:
every time.

--
Reply email address is a bottomless spam bucket.
Please reply to the group so everyone can share.
 
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
837. Unable to see internal web server from internal server. eric the brave Cisco 0 03-05-2006 01:52 PM
Cisco PIX 501 - Port forwarded to an internal host via Static NAT doesn't work from internal host JoelSeph Cisco 9 01-23-2006 03:52 PM
Internal Client Accessing Internal Server Via Public IP Address GeekMarine1972 Cisco 1 01-15-2005 02:49 AM
Redirect Internal IP to Different Internal IP on Same Subnet & Interface EG Cisco 5 12-30-2004 02:10 AM
internal to internal NAT? Mike Cisco 1 04-21-2004 12:15 PM



Advertisments