Skip to content

Commit

Permalink
[7562] Deprecate msiSendMail.
Browse files Browse the repository at this point in the history
  • Loading branch information
korydraughn committed Mar 14, 2024
1 parent 084e1da commit 728892e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doxygen/microservices.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
- #msiSubstr - Returns a substring of the given string
\subsection msiemail Email Microservices
- #msiSendMail - Sends email
- #msiSendMail - (Deprecated) Sends email
\subsection msikv Key-Value (Attr-Value) Microservices
- #writeKeyValPairs - Writes key-value pairs to stdout or stderr and with given separator
Expand Down
8 changes: 6 additions & 2 deletions server/re/src/mailMS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,16 @@
*
* \brief Sends email
*
* This microservice is deprecated and will be removed in a later release. Consider using the Python rule engine plugin
* or exposing your own mail utility via msiExecCmd.
*
* \module core
*
* \since pre-2.1
*
*
* \note This microservice sends e-mail using the mail command in the unix system. No attachments are supported. The sender of the e-mail is the unix user-id running the irodsServer.
* \note This microservice sends e-mail using the mail command in the unix system. No attachments are supported. The
* sender of the e-mail is the unix user-id running the irodsServer.
*
* \usage See clients/icommands/test/rules/
*
Expand All @@ -41,7 +45,7 @@
* \pre none
* \post none
* \sa none
**/
**/
int msiSendMail( msParam_t* xtoAddr, msParam_t* xsubjectLine, msParam_t* xbody, ruleExecInfo_t* ) {

const char * toAddr = ( char * ) xtoAddr->inOutStruct;
Expand Down

0 comments on commit 728892e

Please sign in to comment.