On this page:

Send an Email: All Form Data

  1. Add this line of code to your Telegraph configuration file:
    <directive action="email" to="myemailaddress"/>
  2. Replace myemailaddress with the email address to which the email will be sent.
    • Example:
      <directive action="email" to="fred.flintstone@example.com" />

Send an Email with a Subject

  1. Add this line of code to your Telegraph configuration file:
    <directive action="email" to="myemailaddress" subject="mysubject"/>
  2. Replace myemailaddress with the email address to which the email will be sent and mysubject with the email’s subject.
    • Example:
      <directive action="email" to="fred.flintstone@example.com" subject="Rock Quarry Receivables" />

Send an Email with a Subject and a Reply-to/From Address

  1. Add this line of code to your Telegraph configuration file:
    <directive action="email" to="myemailaddress" subject="mysubject" from="myfromaddress" />
  2. Replace myemailaddress with the email address to which the email will be sent, mysubject with the email’s subject, and myfromaddress with the reply-to/from address.
    • Example:
      <directive action="email" to="fred.flintstone@example.com" subject="Rock Quarry Receivables" from="barney@rubble.com" />

Send an Email with a Subject, a Reply-to/From Address, and an Email Template

  1. Add this line of code to your Telegraph configuration file:
    <directive action="email" to="myemailaddress" subject="mysubject" from="myfromaddress" template="myemailtemplate.txt" />
  2. Replace myemailaddress with the email address to which the email will be sent, mysubject with the email’s subject, myfromaddress with the reply-to/from address, and myemailtemplate.txt with the file name and path relative to your form location.
    • Example:
      <directive action="email" to="fred.flintstone@example.com" subject="Rock Quarry Receivables" from="barney@rubble.com" template="templates/receivables.txt" />

Send an Email with PGP Encryption

  1. Add this line of code to your Telegraph configuration file:
    <directive action="encrypt" insert-other-parameters-here />
    You can use any of the previously-described field parameters with the encrypt action. The only difference is the use of encrypt in place of email.

    • Example:
      <directive action="encrypt" to="fred@flintstone.com" subject="Rock Quarry Receivables" from="barney@rubble.com" template="templates/receivables.txt" />

    Note that the to address must have a registered public PGP key for PGP encryption to work. For online credit card transactions, we strongly suggest that you use the Cashier’s Office Credit Card System.