Reply to topic
SendMail help?
johng


Joined: 31 Oct 2004
Posts: 1
Reply with quote
Can anybody give me a little help with SendMail? The HMS doc on this is pretty brief, and limited only to syntax not directions on how to write the HTML on the page, and if you go to sendmail.org, all the info seems to be about setting it up on a server and not how to use the script to email the contents of a form.

From the HMS help page, the best I can figure is that this is how my form tag should look:

<form method="post" action="/usr/sbin/sendmail -t -i -fme@mydomain.com">

-- but that does not work. And if it did, where would I put the destination where the user goes once the data is submitted.

Thanks in advance for any help on this.
cheryl


Joined: 17 Apr 2004
Posts: 84
Location: Newark, DE
Reply with quote
When you set up a form, your action needs to be a CGI or ASP script that sends the messages for you.
If you are on one of the windows plans, I recommend using ASPMail, where you can find documentation at:
http://www.hostmysite.com/support/programming/aspmail/
If you are on a linux plan, there are tons of free CGI scripts you can download and customize.
I would check out formmail.pl from Matt's Script Archive:
http://www.scriptarchive.com/formmail.html
I hope this information helps!
SendMail help?
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic