- I have a form and I need to send an email automatically to the person who submitted the form.

- The form sends the information to an email address when submitted.

- The form contains an email address field which will contain the email address of the person who submitted the form (reply address).

So... (If possible) how can I get outlook to send an automatic reply to the user using the email address from the email submitted in the form? (Basically how do I get the email address to be taken from the form submission and into the "To line" of a pre-made message automatically?)

I already know how to send messages automatically using message rules etc so you don’t need to explain that.

Grateful for any help you can give me,

Cheers,
NuGG

Use the 'have server reply' rule, and leave the to field blank.
That works for me in Outlook 2003

The other alternative is an 'autoresponder' set up via your hosting control panel.

Use the 'have server reply' rule, and leave the to field blank.

What do you mean by the "have server reply" rule? Is this a feature of outlook?

I understand that this rule enables you to automatically send emails back to the person who sent them, however i want the auto email to be sent to the person who compleated the from via the email they entered in the email field. I.E. take the email address from the email recieved to send another email back automatically.

Cheers,
NuGG

Ah I see - your form isn't set up to appear from the email that sent it?
In that case try modifying your frontpage submission code to look like

S-Email-Format="TEXT/PRE" S-Email-Address="YourEmailAddressHere@somewhere.com"
B-Email-Label-Fields="TRUE" B-Email-ReplyTo-From-Field="TRUE" S-Email-ReplyTo="Email" B-Email-Subject-From-Field="TRUE" S-Email-Subject="subject"

That in theory should take the value of your 'Email' field, and set it as the 'reply to' address.

For further information visit:
http://www.prowebsites.net/frontpagehelp/Discussion_Email.asp
The aim of that tutorial isn't quite the same, but I think the code is the same.

The code above also sets the subject line, so you might want to ditch that part.

After that you should be able to use the outlook rule I mentioned.

Thanks alot mate ill give it a go now and see if i can get it to work. Ill let you know if i have any problems.

Cheers,

NuGG

So im guessing this would go in the submission code next to the email field as below:

<tr>
      <td width="31%" align="right">Email address:<font color="#FF0000">*</font></td>
      <td width="69%">&nbsp;&nbsp;&nbsp;
      <!--webbot bot="Validation" s-data-type="String" b-allow-letters="TRUE" b-allow-digits="TRUE" b-allow-whitespace="TRUE" s-allow-other-chars="@_.-" b-value-required="TRUE" i-minimum-length="5" i-maximum-length="75" [B]B-Email-Label-Fields="TRUE" B-Email-ReplyTo-From-Field="TRUE" S-Email-ReplyTo="Email"[/B]--><input type="text" name="Email" size="33" maxlength="75"></td>
    </tr>

Or does it all go at the begining of the form as below:

<form method="POST" name="FrontPage_Form1" action="--WEBBOT-SELF--" onsubmit="location.href='../_derived/nortbots.htm';return false;" language="JavaScript" webbot-onSubmit="return FrontPage_Form1_Validator(this)">
  <!--webbot bot="SaveResults" s-email-format="TEXT/PRE" s-email-address="webmaster@kings-head-inn.com" b-email-label-fields="TRUE" b-email-subject-from-field="FALSE" s-email-subject="Gam3 registration" s-date-format="%Y-%m-%d" s-time-format="%H:%M" s-builtin-fields="REMOTE_NAME REMOTE_USER HTTP_USER_AGENT Date Time" s-form-fields="name Username password Confirmpassword Email MSN " u-confirmation-url="index.htm"  [B]B-Email-Label-Fields="TRUE" B-Email-ReplyTo-From-Field="TRUE" S-Email-ReplyTo="Email"[/B] startspan -->

Sorry about this i havnt done much work with forms before so this is all new to me.

Cheers,
NuGG

I vote for option 2.
I normally handle my forms with php, so frontpage forms is a new experience for me too.
Regards
Dave

hello,

i have a slightly different question. My website has a booking form that clients fill in, and the contents is then emailed to me.

Is there a way of formatting the way this text is received in the email as I would like to simply print off the email and use it as a booking sheet to pass on to an employee. At the moment the text is received left aligned and looks rather pathetic.
I would like it to look like a proper form.

Any help would be appreciated.

P.S. I have no knowledge of programming. The form was created using 'Coffee Cup Form Builder'.

does anybody know how they send automatic emails???

-bigguy

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.