From: Jonathan Stowe <jns@ge...> - 2005-02-28 12:56:39
On Mon, 2005-02-28 at 11:19, software@... wrote:
> I want to try to use Formmail in a sort of =E2=80=9CReverse mode=E2=80=9D=
> form will ONLY be used by the site administrator BUT the =E2=80=9Crecip=
> can be ANYONE@...
> The intention is to have an HTML Form page generate a structured Email
> to a Recipient whose address will be entered into the Form, with the
> Email ideally being in HTML format, defaulting to a text format for
> those who receive messages in that mode. I would also wish the script
> to be able to generate an HTML LogFile on the Web Server to contain
> the contents of =E2=80=9CSent=E2=80=9D messages but, if necessary, I ca=
> find, and include, this facility subsequently.
FormMail is specifically designed *not* to allow e-mail containing
content derived from the form input, to allow it to do so would provide
a vector for SPAM. FormMail is not designed to be a general purpose
mail client really.
Our advanced form to email program TFmail *can* be configured to accept
a recipient address from the form but when it is using this address it
will not allow other form derived content in the mail message it sends
to that address - this is typically used to send static content based on
It might be helpful if you were to explain in more detail the actual
process that you are trying to support as we might be able to find a
more general solution for you.
> 1. Can the =E2=80=9D@...=E2=80=9D variable (array?) be s=
et fully open
> so that there is NO restriction on addresses of the Recipients or
> their Domains? If so, how? Will =E2=80=9Cwild-card=E2=80=9D symbols ent=
ered into the
> qw(=E2=80=A6); array produce the desired result? I am aware that, in th=
> normal mode, this variable is used to restrict recipient=E2=80=99s addr=
> to a pre-set restricted list.
No. @allow_mail_to does not match by regular expression but by direct
comparison - regular expression metacharacters found there will only be
compared as their literal values.
> 2. If this cannot be done, is there a recommended script that I
> can use to serve this purpose?
Without more detail it is difficult to know what to suggest. I suspect
that what you probably want is a specialized piece of software.
This e-mail is sponsored by http://www.integration-house.com/
Get latest updates about Open Source Projects, Conferences and News.