ConnorP
06-Aug-2008, 02:26 PM
Hi,
I have the formail installed and working just fine. It sends the results to 2 different admin personnel as required. I would also like to be able to send a welcome email to the person who submitted the form. This email would be generic, but would have different content to the actual for results which I recieve everytime someone correctly submits a form.
One way I went about achieving this was to create another email account on our server and nominate that email as one the recipients in the formail code:
$TARGET_EMAIL = array(EMAIL_NAME."@url\.com$",
"^email1@url\.com$",
"^email2@url\.com$",
"^email3@url\.com$");
(I have changed the values here to generic ones for illustration purposes)
The next step was to set up an autoresponder on email3@url.com to reply to all incoming mail. I entered the body of my welcome letter in there and expected that it should work.
I also edited the html form to reflect the new recipient email address.
However it still only sends the results to email 1 and email 2, so i am left scratching my head.
There must be another way of doing this wherebly I can lift the email address of the person submitting the form and compose a reply to that address with a specified Subject Line and email text body.
I would welcome your suggestions.
Thanks in advance.
ConnorP
I have the formail installed and working just fine. It sends the results to 2 different admin personnel as required. I would also like to be able to send a welcome email to the person who submitted the form. This email would be generic, but would have different content to the actual for results which I recieve everytime someone correctly submits a form.
One way I went about achieving this was to create another email account on our server and nominate that email as one the recipients in the formail code:
$TARGET_EMAIL = array(EMAIL_NAME."@url\.com$",
"^email1@url\.com$",
"^email2@url\.com$",
"^email3@url\.com$");
(I have changed the values here to generic ones for illustration purposes)
The next step was to set up an autoresponder on email3@url.com to reply to all incoming mail. I entered the body of my welcome letter in there and expected that it should work.
I also edited the html form to reflect the new recipient email address.
However it still only sends the results to email 1 and email 2, so i am left scratching my head.
There must be another way of doing this wherebly I can lift the email address of the person submitting the form and compose a reply to that address with a specified Subject Line and email text body.
I would welcome your suggestions.
Thanks in advance.
ConnorP