Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sending email through a browser.

Status
Not open for further replies.

chilids

Technical User
Aug 16, 2001
15
US
This is what I want to do. I want a form on a webpage that can be filled out and then sent to an email account. But it needs to be anonoymas. I have a basic html document already made. But what do I need to make the submit button send the information that was entererd. I figured it would have to go out as an email because they don't have access to our server, or else I would just send it there. Is this a job for a script language? Is there a better way to do this then the way I am trying. Thanks,

chilids
 
Well you could have them write a text file out to your server if you are using ASP. Other wise you can have the sent as a email by using this form tag.

<form name=&quot;formName&quot; method=&quot;post&quot; enctype=&quot;text/plain&quot; action=&quot;Mailto:emailaddress&quot;>

Roj
 
Take a look on my homepage under &quot;E-mail a friend&quot;
in the left hand menu. I think you will find what you
are looking for there ... Everyone has a right to my opinion.
E-mail me at cwcon@programmer.net
 
P.S. dont mind it being in dutch, I still have
translate a lot of stuff to English .... Everyone has a right to my opinion.
E-mail me at cwcon@programmer.net
 
I went to the webpage and when I typed in the info, it took me to my email program to actually send the program. Thats not good because it will the show the recipient who sent the email. This has to be completely anonymous. I tried out the other code too. But how do I link that to my submit button. I guess I don't know where to put it. Thanks for your help.


chilids
 
Well if you need it to be anonymous you are going to have to go to some sort of a server function. Anyway that I know how to have the user send main on there side is going to give you there return address. What kind of server are you using?
 
We are using a Lotus Domino server. Any Ideas how I can do it through the server. I don't know very much about it. Thanks,


chilids
 
Try using formmail.pl as the action on the form.

This sends an email to a addressee (based on a hidden element on the form). You do not get the email address of the person submitting the form (unless you ask for it in a field on the form).

Cheers

John
 
How do I put the recipient's email address in the hidden element? I asume thats where I put it.


chilids
 
O.k. I read up on formail alittle, is there a way to do this with out using cgi? Right now we aren't set up for cgi, although we could be, I don't know what all that would require and it might not be worth it.


chilids
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top