axanthus
08-07-2006, 01:19 AM
Hello all. I have a question about formmail.pl and variable recipients. I'd like to use the script on an auto classified website so that potential buyers can email sellers via a form. Each seller has an email address associated with their account, which can be placed in the auto listing page via a placeholder, $user_name$. So, I configured the recipient field as follows:
<input type=hidden name="recipient" value="$user_name$">
It parses the email address nicely; however, the problem is that since each seller has a different email address/domain, the @recipient variable in formmail.pl will not allow an email to be sent.
I guess my question should be does anyone know how to configure formmail.pl to allow an email to be sent to any email address/domain, without it first having to be defined in @referers? Or, does anyone know of another cgi script that would work for this purpose?
Thanks!
Jessica
<input type=hidden name="recipient" value="$user_name$">
It parses the email address nicely; however, the problem is that since each seller has a different email address/domain, the @recipient variable in formmail.pl will not allow an email to be sent.
I guess my question should be does anyone know how to configure formmail.pl to allow an email to be sent to any email address/domain, without it first having to be defined in @referers? Or, does anyone know of another cgi script that would work for this purpose?
Thanks!
Jessica