
femu
Novice
Mar 14, 2002, 7:33 PM
Post #7 of 9
(8082 views)
|
Re: [James] Simple Mail Script with variable?
[In reply to]
|
Can't Post
|
|
Hi James, you're right. It should have been ...?varname=123 In fact I do not really need a form action, if the desired cgi programm handle can that. I looked around a found alot of emailing tools. But they all need a form to get the input. What I like to have is a much more "easier" solution. That's what you described at the beginning. Just send me a mail with the predefined variable. So I get ie. whet clicking below a simple mail (maybe with some additional text) and the ID in the subject line, like "Information for ID=123. Or whatever set after the ?ID=. http://wwwmydomain.com/cgi-bin/sendmail.cgi?ID=123 and finally the tool should then send the user to a thanks.html page. So if everything will be handled by the program, I'm happy! So a message the may look like: To: me From: MyTool Subject: Information for ID=123 Body: some bla, bla If I could define different varnames, which causes the program to send different mails, I would get the perfect tool, since then I can handle different situations (means if varname=id, send mail1, if varname=new, send mail2, and so on). Maybe out of a textfile. Thanks, Felix
|