User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Site Layout and Usability section within the Web Development category of DaniWeb, a massive community of 391,593 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,666 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Site Layout and Usability advertiser:
Views: 7565 | Replies: 7
Reply
Join Date: Feb 2005
Location: England
Posts: 91
Reputation: NuGG is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
NuGG's Avatar
NuGG NuGG is offline Offline
Junior Poster in Training

Question setting up an automatic email reply from a form.

  #1  
Nov 25th, 2005
- 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
Last edited by NuGG : Nov 25th, 2005 at 12:15 pm. Reason: added a link to the form
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jul 2004
Location: Wales
Posts: 735
Reputation: DaveSW is on a distinguished road 
Rep Power: 6
Solved Threads: 17
DaveSW's Avatar
DaveSW DaveSW is offline Offline
Master Poster

Re: setting up an automatic email reply from a form.

  #2  
Nov 28th, 2005
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.
Reply With Quote  
Join Date: Feb 2005
Location: England
Posts: 91
Reputation: NuGG is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
NuGG's Avatar
NuGG NuGG is offline Offline
Junior Poster in Training

Re: setting up an automatic email reply from a form.

  #3  
Nov 29th, 2005
Originally Posted by DaveSW
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
Reply With Quote  
Join Date: Jul 2004
Location: Wales
Posts: 735
Reputation: DaveSW is on a distinguished road 
Rep Power: 6
Solved Threads: 17
DaveSW's Avatar
DaveSW DaveSW is offline Offline
Master Poster

Re: setting up an automatic email reply from a form.

  #4  
Nov 29th, 2005
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/frontpage...sion_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.
Reply With Quote  
Join Date: Feb 2005
Location: England
Posts: 91
Reputation: NuGG is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
NuGG's Avatar
NuGG NuGG is offline Offline
Junior Poster in Training

Re: setting up an automatic email reply from a form.

  #5  
Nov 29th, 2005
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
Reply With Quote  
Join Date: Feb 2005
Location: England
Posts: 91
Reputation: NuGG is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
NuGG's Avatar
NuGG NuGG is offline Offline
Junior Poster in Training

Re: setting up an automatic email reply from a form.

  #6  
Nov 29th, 2005
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-Email-Label-Fields="TRUE" B-Email-ReplyTo-From-Field="TRUE" S-Email-ReplyTo="Email"--><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-Email-Label-Fields="TRUE" B-Email-ReplyTo-From-Field="TRUE" S-Email-ReplyTo="Email" startspan -->

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

Cheers,
NuGG
Reply With Quote  
Join Date: Jul 2004
Location: Wales
Posts: 735
Reputation: DaveSW is on a distinguished road 
Rep Power: 6
Solved Threads: 17
DaveSW's Avatar
DaveSW DaveSW is offline Offline
Master Poster

Re: setting up an automatic email reply from a form.

  #7  
Nov 30th, 2005
I vote for option 2.
I normally handle my forms with php, so frontpage forms is a new experience for me too.
Regards
Dave
Reply With Quote  
Join Date: Sep 2007
Posts: 1
Reputation: travisbeer is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
travisbeer travisbeer is offline Offline
Newbie Poster

Help Re: setting up an automatic email reply from a form.

  #8  
Sep 20th, 2007
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'.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb Site Layout and Usability Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the Site Layout and Usability Forum

All times are GMT -4. The time now is 11:28 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC