Mail Subject Line

Hi,

We are currently sending our letters vial mail (email) and have created macros for this.

We delete the text in the subject line (the name of the document) then type in something like

subx

which gives

concat('Referral Letter for Dr ',openvpms:get(party:getPatientReferralVet($patient),'firstName'),' ',openvpms:get(party:getPatientReferralVet($patient),'lastName'),' re ',$patient.name,' ',$customer.lastName,' from Advanced Vetcare')

Is it possible to have the subject line blank so the clinician has to enter in the macro, otherwise the email won't send (because the subject line is blank)?

Thanks,

Greta

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Re: Mail Subject Line

No - this is not supported.

If the default subject used for mailing is not useful to anyone, then I'm happy to leave it blank and require a subject to be entered manually.

Unless there are objections, I'll schedule it for the 1.7.1 release.

 

Re: Mail Subject Line

Tim - I concur - the default subject is the document name and this probably does not mean anything useful to customer - if I look at ours I see things like "CC Health Certificate (all History)+text" - this is a useful name internally, but is useless externally.

I agree with the 'leave subject blank on all emails so the operator must always supply a subject' approach.

Regards, Tim G

Re: Mail Subject Line

Hi,

I agree, please leave blank, however a future improvement may be to be able to specify template subject line and message body for each letter or form or template type?

Re: Mail Subject Line

Absolutely you need to support this because it should be possible to specify that invoices are not printed automatically but they are automatically mailed to a clients BILLING email address. This would need the template.   Additional the improvement here would be to support macro expansion at the time of mail generation to allow macro or xpath usage in email templates.

Regards
 
Ben 
OpenVPMS Installer and Helper 
Ph: +61423044823 
Email: info[at]charltonit.com[dot]au
Syndicate content