On this page:
- Send an Email: All Form Data
- Send an Email: All Form Data and Email Subject
- Send an Email: All Form Data, Email Subject, and Reply-To
- Send an Email: All Form Data, Email Subject, Reply-To, and Template
- Send an Email with PGP Encryption
Send an Email: All Form Data
- Add this line of code to your Telegraph configuration file:
<directive action="email" to="myemailaddress"/>
- Replace myemailaddress with the email address to which the email will be sent.
- Example:
<directive action="email" to="fred.flintstone@example.com" />
- Example:
Send an Email with a Subject
- Add this line of code to your Telegraph configuration file:
<directive action="email" to="myemailaddress" subject="mysubject"/>
- 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" />
- Example:
Send an Email with a Subject and a Reply-to/From Address
- Add this line of code to your Telegraph configuration file:
<directive action="email" to="myemailaddress" subject="mysubject" from="myfromaddress" />
- 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" />
- Example:
Send an Email with a Subject, a Reply-to/From Address, and an Email Template
- Add this line of code to your Telegraph configuration file:
<directive action="email" to="myemailaddress" subject="mysubject" from="myfromaddress" template="myemailtemplate.txt" />
- 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" />
- Example:
Send an Email with PGP Encryption
- 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.
- Example: