On Mon, 1 Jun 2020 at 00:12, Craig Russell <apache....@gmail.com> wrote:
>
> Hi,
>
> Now I need to create an email to send to secretary if the person chooses 
> "request emeritus". The email contains an attachment file "emeritus.txt" and 
> it will be processed by secretary in the usual way.
>
> Both the email and attachment need to have fields replaced by variables in 
> the memstat.json.rb file.
>
> I can create a template to use that has fields for person.name, person.email, 
> person.id, and today's date. This will be a pretty standard email from: OP 
> to: secretary. But is it possible to have a single .erb file that contains 
> both the email and the attachment?
>
> Ideas?

Why not store emeritus.txt in SVN or Git and include a link to it in the email?

> Thanks,
> Craig
>
> Craig L Russell
> c...@apache.org
>

Reply via email to