How to update the email content that is sent when you email records from RD?
- Article Type: General
- Product: DigiTool
- Product Version: 3
We would like to update www-set-mail-00 and would like to also know where to change the "from" address in the email that gets sent (currently it's "email@example.com"):
There is no documentation to define the placeholders in gen01/form_eng/www-set-mail-00, therefore it is difficult to know which place holrders to change or move.
Please advise on how to determine what these placeholders are in order to update them.
Also please indicate where to change the current "from" address [firstname.lastname@example.org] to "email@example.com"
Placeholders are currently not documented (a documentation enhancement request is outstanding).
In the meantime, the values of the metadata fields can be updated in $user_dev/gen01/edit_doc_999.eng.
The order and labels can be set from there for use by the mail format.
The free text at the bottom should also be able to be added to the www-set-mail-00 in $user_dev/gen01/form_eng/.
Please refer to rep_change rep_change #001138 [Send Mail addition to version - Allow changing the "from" address in RD-originated emails]:
Unix files: ./dtle/tab/send_mail
1. Add file send_mail to your $dtle_tab directory.
cp $dtl_dev/dtle/tab/send_mail $user_dev/dtle/tab/
2. Update email "from" address to your institution-preferred one:
from /usr/lib/sendmail -r firstname.lastname@example.org $1 < $TMPDIR/send_mail.$$
to /usr/lib/sendmail -r email@example.com $1 < $TMPDIR/send_mail.$$
This issue is still open and was escalated to Development for further investigation <2009-08-16 01:00:04>.
- Article last edited: 10/8/2013