Mail command to mail output of commands to someone

Description

Create a "mail" command. Output of a previous command can be piped into it and mailed to anyone you want.

This would require the user have the ability to configure a mail server in their CommandBox instance.

Make sure the mail command strips off any ANSI formatting on the text.

Activity

Show:
Luis Majano
June 6, 2014, 9:53 AM

Can you expand how would we do the mail server settings?

Is this maybe linked to having a commandbox.json in the user directory for preferences?

Brad Wood
June 6, 2014, 3:58 PM

Yes, I think it would need to be in something like commandbox.json. It would be cool to have a command to help manage that too as a one-time setup.

When CommandBox loads up (or maybe even in Application.cfc), server level settings could be read from that file and loaded into the Railo instance. The benifit of Application.cfc is that we wouldn't need to use the cfadmin tag since all Railo settings can be specified now in App.cfc.

Brad Wood
May 30, 2020, 11:58 PM

Closing off old ideas. We can re-create new tickets if we decide to do these in the future.

Won't Do

Assignee

Unassigned

Reporter

Brad Wood

Labels

None

Affects versions

None

Fix versions

None

Time tracking

0m

Time remaining

3h

Priority

Major

Components