Mar 14, 2002, 7:33 PM
Post #7 of 9
Re: [James] Simple Mail Script with variable?
[In reply to]
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=.
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:
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.