Klick auf das Logo bringt Sie zur Homepage
Formular-Chef: Email template

   Formular-Chef: Email template
         Confirmation to the visitor
         HTML-emails


The Formular-Chef sends the information of the visitor via email to the recipient(s). Here, it sorts all of the form data alphabetically one under the other. If this is not sufficient and you need a special email-layout (e.g. for orders/reservations, etc.), you can also list the template here. The Formular-Chef then pulls up this template, replaces the variables, and sends the recipients the formatted email. Here, you can work with all variables again. Include the following lines in your HTML-form:

<input name="email_template" type="hidden"
value="http://www.Your-Domain-Here.com/email.txt">

The following is an example for an email template:

Hello,


on ##DATE## at ##TIME##, a visitor filled out the form:


##ENV_HTTP_REFERER##


The visitor had the IP ##ENV_REMOTE_ADDR##.


The data:

~~~~~~~~~~


Name: ##name## ##first name##
Street: ##street##
Email: ##sender##
...

Confirmation to the visitor

    Naturally, you can also send the visitor of your form a preselected reply, either as a confirmation or for the records of simply for information that his data has been received.

    The visitor can either receive the same email as the provider (copy):

    <input type="hidden" name="copy_to_sender" value="1">

    But, you can also define your own template for the confirmation email, in which you thank the visitor, for example, and also send all of the data to him again for checking:

    <input type="hidden" name="copy_to_sender_template" 

    value="http://www.Your-Domain-Here.com/email_kopie_template.txt">

HTML-emails

    The Formular-Chef also supports the sending of HTML-emails. For this, simply create the email-template in HTML-format, taking care to ensure that the tag <html> is placed somewhere at the beginning. The FC then recognizes that the email is to be sent in HTML-format and prepares it for this accordingly:

    <html>
    <head>
    <title>test page</title>
    </head>
    <body>
    <h2>This is an email-HTML-test template :-)</h2>
    ...
    </body>
    </html>

Prev. chapter Navigation Next chapter
Error-template [ Back to Top ] [ Back to start ] Environment variables